159
rated 0 times
[
163]
[
4]
/ answers: 1 / hits: 16656
/ 15 Years ago, mon, april 13, 2009, 12:00:00
Consider the following form:
<form action="/a" method="post">
<input name="x" type="text" onblur="myonblur(e)" />
<input name="y" type="text" />
<input name="submit" type="submit" value="Submit" />
</form>
When focus is on element with name "x" and user presses submit button, onblur
event fires but form is NOT submitted. Is there any way to make submit button work as expected if I have onblur
events in my form?
More From » forms