Disable Form Submit/PostBack on Enter Key Press
-Sometimes, when there are multiple text input fields in the form it is undesirable that the form gets submitted when the user hits "ENTER" key in a field. You may want to disable this behavior and have enter key enabled on a particular text field alone or you may want to completely disable form submission on enter key press event. You can achieve this by handling the enter key press event
0 comments:
Post a Comment
Thank you for your comment