SyntaxFix
Write A Post
Hire A Developer
Questions
I would do it like the following: In the handler for the onclick event of the button (not submit) check the event object's keycode. If it is "enter" I would return false.