How can you programmatically tell an HTML select to drop down (for example, due to mouseover)?
How can you programmatically tell an HTML select to drop down (for example, due
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t do this with a HTML select tag, but you can do it with JavaScript and HTML. There are variety of existing controls that do this – for instance, the ‘suggest’ list attached to the SO ‘interesting/ignored tag’ entry, or Gmail’s lookup for email adresses.
There are many JavaScript+HTML controls that provide this capability–look for autocomplete controls for ideas.
See this link for the Autocomplete control…http://ajaxcontroltoolkit.codeplex.com/