Execute enter key on the client

G

Guest

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?
 
M

msnews.microsoft.com

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top