View Full Version : Open the dropdown of a Select element on focus
dragon6158
03-11-2008, 01:57 PM
Hello,
Is it possible to open the drop down list of a Select element when the Select element gets focus?
Thanks,
Don
harbingerOTV
03-11-2008, 02:48 PM
I maybe wrong, but doesn't the select box gain focus as a result of it gaining active? Once you click on it (the active) it stays open (the focus). Or do you have some other meaning or idea in mind?
dragon6158
03-11-2008, 02:58 PM
I have a Select box that I have temporarily disable until the user puts a valid input in a text box and I want to be able to click on the arrow to open the list but I only want to click one time. Right now, I have to either tab out of the box and click on the arrow to open the list or click on the arrow twice. My supervisor said that is because the first click takes the focus off the box and puts it on the select and the second click opens it.
jcdevelopment
03-11-2008, 03:07 PM
could you instead of using focus, use onchange to make it work? Or is that not what you are looking for?
dragon6158
03-11-2008, 03:22 PM
Onchange wouldn't work because I'm trying to drop the list to change the Select.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.