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

Execute enter key on the client

P: n/a
I'd like to execute some code on the cleint when the user hits Enter key
in a dropdown box. Another words, the user selects an item from the combo
and then hits Enter key. I want to attach code to that event.
Is it possible?
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
From my experience, enter key doesn't work on <select>. For an example of
this not working, goto the advanced google search:
http://www.google.ca/advanced_search?hl=en

enter something in the boxes and hit "enter", the search is submitted. Now
select how many results you want and leave the focus on the dropdownbox,
hitting enter doesn't work. This is true for both mozilla and IE.

Karl
"Mark" <Ma**@discussions.microsoft.com> wrote in message
news:44**********************************@microsof t.com...
I'd like to execute some code on the cleint when the user hits Enter key
in a dropdown box. Another words, the user selects an item from the combo
and then hits Enter key. I want to attach code to that event.
Is it possible?

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.