Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a select
Message
De
09/06/2001 21:03:51
 
 
À
08/06/2001 13:12:43
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00517062
Message ID:
00517487
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform