Onsubmit in Internet Explorer?
Lord, please help me. There is the following code:
Works fine in most years. In IE9, the form is sent, no matter what.
Interestingly, on the same computer, in the same IE9 as a different user everything works as intended.
Google a lot of similar questions, but no answer didn't work. If onsubmit="return onSubm();" is replaced by onsubmit="onSubm(); return false;", nothing changes.
How is it possible to win?
asked October 8th 19 at 00:24
1) you Have in progress onSubm() throws an exception, as it is written with lots of mistakes and false respectively not returned.