Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening a select
Message
From
09/06/2001 21:03:51
 
 
To
08/06/2001 13:12:43
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00517062
Message ID:
00517487
Views:
15
>From a javascript code, is there a way to open a select field automatically? I have a listbox containing items and I would like to see if I can open it as if the user would have clicked on it.

I've never tried it, but you could try something like:

document.myForm.mySelect.click()

I am not sure if the select object allows a click() method. If so, it should open up the list.
Andres M. Chiriboga, MCSE, MCP+I
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform