View Single Post
  #6  
Old 12-16-2004, 06:01 PM
  kpayne's Avatar 
kpayne kpayne is offline
 

X-Adept
  
Join Date: Dec 2002
Location: Firetanksoftware.com
Posts: 469
 

Default

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.
__________________
X-cart Featured Products Manager from http://www.firetanksoftware.com - Put your products where you want, how you want.
Reply With Quote