cksj a ecrit :
I have a dropdown control on my web page. When the user has selected
an item on the list, I would like to set focus to one of the
textboxes. Do you know how I can do this?
<select blabla onchange="this.form.myText.focus();">
or if you have an other function to run in this onchange ==>
<select blabla onchange="
myOtherFunction();
this.form.myText.focus();">
may be better :
<select blabla onchange="setTimeout('this.form.myText.focus()',10 );">
--
************************************************** ************
Stéphane MORIAUX : mailto:st*********************@wanadoo.fr
Aide aux Pages Perso (images & couleurs, formulaire, CHP, JS)
http://perso.wanadoo.fr/stephanePOINTmoriaux/internet/
************************************************** ************