[Javascript]Locker une list box

Fermé
choco - 5 janv. 2007 à 15:29
P@ Messages postés 1709 Date d'inscription vendredi 7 juillet 2000 Statut Membre Dernière intervention 24 mars 2009 - 5 janv. 2007 à 16:43
Bonjour,

Je souhaiterais savoir comment verrouiller une liste box en Javascript ?
La rendre inutilsable. J'ai essaye enable mais ca ne marche pas :(
Merci de votre aide.
A voir également:

1 réponse

P@ Messages postés 1709 Date d'inscription vendredi 7 juillet 2000 Statut Membre Dernière intervention 24 mars 2009 185
5 janv. 2007 à 16:43
regarde, ca marche sous firefox
http://www.webmaster-hub.com/lofiversion/index.php/t17879.html
le code
<select name="monselect" disabled="disabled">
<option name="option_1" value="option_1">OPTION 1</option>
<option name="option_2" value="option_2">OPTION 2</option>
<option name="option_3" value="option_3">OPTION 3</option>
</select>

0