Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form problem

Status
Not open for further replies.

rbauerle

Programmer
Oct 16, 2001
48
BR
Does anybody know why on some forms you can just hit ENTER from anywhere and on some others you have to have the focus on the button to hit it? I'd like to be able to hit ENTER whenever I want, from any field in my form on every form I have. Does anybody know how to assure I'll be able to do that?

Thanks a lot.
 
depends on the browser. Depends also on the type of input you're in (like : if you're in a input type=textarea then enter will just break the line). You can only make sure that there's an input type=submit, (or =image) which is called by default on enter, but not on all browsers and not when you are on any field.
You should have asked this question in the "html & css" forum, as it's html related. You'd have faster answers. Or even better, you should have performed a search on this question on the html & css forum, and you'd get even fastest answers, as it'd been already asked & answered a few times.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top