Default action
ASP.NET
2
Posts
2
Posters
2
Views
1
Watching
-
I would like to have a form accept the enter key asthe default action. I have a button that submits the form and it works fine. I can trap the keypress event and call the click method on the button but this causes the page to repost to the server where as clicking on the actual button does not. Anyone have thoughts on this?
-
I would like to have a form accept the enter key asthe default action. I have a button that submits the form and it works fine. I can trap the keypress event and call the click method on the button but this causes the page to repost to the server where as clicking on the actual button does not. Anyone have thoughts on this?