Click to See Complete Forum and Search --> : Reposition Select.
YoJim
05-10-2003, 08:20 PM
Hi,
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?
Thanks
khalidali63
05-10-2003, 08:31 PM
something on these lines will do.
document.formName.listBoxName.options[index]selected = true;
YoJim
05-10-2003, 09:23 PM
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.
YoJim
05-11-2003, 12:46 AM
Does anyone else have a suggestion that works?
YoJim
05-11-2003, 04:30 PM
Thank you Khalid, and Dave.
I got it Rock'n Roll'n, with your help.
Those pesky little pun****ations. The Devil is in the Details, and that statement is especially true when coding for computers.
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.