How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover)?

html, javascript

Solution

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/

Problem

How can you programmatically tell an HTML `select` to drop down (for example, due to mouseover)?

Original source