By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,228 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,228 IT Pros & Developers. It's quick & easy.

Default button for ENTER key

P: n/a
Hi everyone,

On a html page I have some input boxes and few buttons. On that page
if user hits ENTER key at any time, it will have a specific to be
defaulted to invoke [like default=true of Command Button in Visual
Basic]. Is same effect possible in HTML? how?

Thanks
AR
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
AR John wrote:

On a html page I have some input boxes and few buttons. On that page
if user hits ENTER key at any time, it will have a specific to be
defaulted to invoke [like default=true of Command Button in Visual
Basic]. Is same effect possible in HTML? how?


What do you mean? Do you want ENTER to not submit a form (not a good
idea)? Or do you want to be able to cancel submission under certain
circumstances?

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.