SyntaxFix
Write A Post
Hire A Developer
Questions
Change the submit button to a normal button and handle submitting in its onClick event.
As far as I know, there is no way to tell if the form was submitted by Enter Key or the submit button.