[jQuery] Re: open drodown
If there was an API for it, it would be on the docs page (http://
docs.jquery.com), but in thinking what a <select> looks like when it's
"open", it's easy to use some simple code to change the <select>'s
"size" property (http://www.w3schools.com/TAGS/att_select_size.asp)
from "1" to "# of children" and back again:
(working) case in point:
On Dec 26, 1:45 pm, fachhoch <fachh...@gmail.com> wrote:
> My select drop down is inside a div , I am wondering if jquery has any api
> to open the dropdwon ,when user clicks on the div ?
>
> <div class="wrapper">
> <select name="infGrantProgram" id="program" wicket:id="infGrantProgram">
> <option value="" selected="selected">Choose One</option>
> <option value="114">AD - DEVELOPMENTAL DISABLITIES - 94006</option>
> <option value="372">ADDDDC - Developmental Disabilities Councils -
> 93630</option>
> <option value="771">ADPTASST - Adoption Assistance - 93659</option>
> <option value="978">AE1 - Community Based Abstinence Education -
> 93010</option>
> <option value="935">AEGP - Abstinence Education Grant Program -
> 93235</option>
> <option value="815">ZV - ASSISTANCE FOR VICTIMS OF TRAFFICKING -
> 93598</option>
> </select>
> </div>
>
> --
> View this message in context:http://old.nabble.com/open-drodown-tp26929027s27240p26929027.html
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home