I have this inside the header of my page:
And this is the form:
<FORM id="codSeguimiento" onsubmit="enviar();" action="consultaServlet" method="POST"> <p>Seguimiento de tramites</p> <input id="codigo" name="codigo" type=text maxlength="10"><br> <input id="boton" name="enviar" type="submit" value="Consultar"> </FORM>
I have tried commenting the code of the function, and simply placing an alert ("text"); And this never runs. From what I gather the function is never executed.
Any idea what I'm doing wrong? I do not have much idea of the subject