javascript - Bypass ASP.NET validation for onClick event of input -
I have a & lt; Input> is an onclick event that checks for the enter key, the function can redirect the function to the window.
However, when I press the Enter key, it apparently turns off Page Verification. So I see verification messages for the other partitions.
How do I tell that page when it is not asked to throw events in any legalization when that < Is Input>?
If it & lt; ASP: Button & gt; So, just set the property wrong. But, I doubt it is not really such a button which is causing this - but submit the form that is in the form of the exit key.
If this is the case, you can use
Comments
Post a Comment