Quote:
Originally Posted by adpboss
Quote:
Originally Posted by kpayne
I wonder if the enter key is just basically aliased to the submit button and it doesn't work because there is no submit button. I wonder if it's something as stupidly simple as putting a submit button in a hidden div ...
|
Speak English or suffer the consequences knave!
|
What I mean is basically this: Can you put the following code in a form and then have the ability to hit enter to submit the form?
Code:
<div style="display: none;"><input type="submit" value="submit"></div>
I'm too lazy to test it myself. But from what I've seen, when you hit <enter> the browser just finds the first submit button on the page and clicks it for you.