Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically open a drop-down menu [duplicate]

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

Is there a way to programmatically display/open a drop down menu (<select>)?

like image 204
nickf Avatar asked May 10 '10 04:05

nickf


1 Answers

After trying a few things, I could not get it to work. So maybe the answer might be "it is impossible". Sorry!

The only way you could probably do it is to use one of the jQuery plugins that turn a normal select element into normal elements that are styled. Then it should be trivial to set display: block on one of the elements the plugin produces.

like image 174
alex Avatar answered Sep 18 '22 16:09

alex