Reposition Select.

liunx

Guest
Hi,<br />
<br />
After a user selects a choice from a Drop Down Box via the Select structure, how do you reposition the choice of the Drop Down Box back to the first option of the list in the box?<br />
<br />
Thanks<!--content-->something on these lines will do.<br />
<br />
document.formName.listBoxName.options[index]selected = true;<!--content-->That didn't reposition the selection. I would think you would have to set the value of one of the Option's properties (I don't know which property) to get it to go back to the top option.<!--content-->Does anyone else have a suggestion that works?<!--content-->Thank you Khalid, and Dave.<br />
<br />
I got it Rock'n Roll'n, with your help.<br />
<br />
Those pesky little pun****ations. The Devil is in the Details, and that statement is especially true when coding for computers.<br />
<br />
I've recently taken a look at Javascript via Joe Burn's JavaScript Goodies book. The syntax of JavaScript has me rethinking whether I want to get involved in another language.<!--content-->
 
Back
Top