Can someone please tell me how to submit an HTML form when the return key is pressed and if there are no buttons in the form? The submit button is not there
Since display: none buttons and inputs won't work in Safari and IE, I found that the easiest way, requiring no extra javascript hacks, is to simply add an absolutely positioned to the form and place it far off screen.
This works in the current version of all major browsers as of September 2016.
Obviously its reccomended (and more semantically correct) to just style the as desired.