Cita:
Iniciado por roboty
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<form method='post' action='comprobar' name='form'> <input type='text' name='edad'/> <input type='text' name='estado'/> <input type='button' name='comprobar' value='comprobar' onclick='comprobar(this.value)'/>
El JS está mal, pégalo aquí.