Blog
Set a default button for the Enter Key that is triggered on Enter-key press
You might(/might not) have come across a situation where you press the Enter key on keyboard and you find that the form doesn't get submitted. I will show you how can you set the default button that is triggered when the user hits the enter key