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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -