Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/08/2010, 06:23
Avatar de angelAparicio
angelAparicio
 
Fecha de Ingreso: julio-2009
Ubicación: Sevilla
Mensajes: 307
Antigüedad: 14 años, 10 meses
Puntos: 22
Respuesta: error en funcion de validacion de email

Hola, el segundo parámetro es el que te da el problema y realmente no lo necesitas para nada.

Cambia
function isEmailAddress(theElement, nombre_del_elemento )
por
function isEmailAddress(theElement)

y
<INPUT TYPE="submit" VALUE="Ejecutar" ONCLICK="return isEmailAddress(TextField,´TextField´ )"> </FORM></BODY>
por
<INPUT TYPE="submit" VALUE="Ejecutar" ONCLICK="return isEmailAddress(TextField)"> </FORM></BODY>

Y ya te funcionará
__________________
Mis webs:
- Programador Web Autónomo
- Conciertos en Sevilla