Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/06/2012, 06:40
Avatar de dontexplain
dontexplain
 
Fecha de Ingreso: junio-2012
Mensajes: 536
Antigüedad: 11 años, 11 meses
Puntos: 127
Respuesta: porque no me funciona el button en mi form

Cita:
Iniciado por roboty Ver Mensaje
Hola estoy intentando llamar a una funcion javascript al pulsar un input type button pero no me funciona no me muestra ningun error muestro el input por si me podeis ayudar:


Código HTML:
Ver original
  1. <form method='post' action='comprobar' name='form'>
  2. <input type='text' name='edad'/>
  3. <input type='text' name='estado'/>
  4. <input type='button' name='comprobar' value='comprobar' onclick='comprobar(this.value)'/>
  5. </form>
El JS está mal, pégalo aquí.