Discussion Locked

dhtml listbox question

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

lets say i have a listbox on a web page, HTML that is. it would be as follows:

mike
joe
don

now the point is when i click on and select the option don. i want to change its status in the list to 2nd. thus making the order mike,don,joe.

then if i run the logic again when don is selected i would like to have the list be don,mike,joe.

i would like to use the methods and properties of the listbox to do this. if it is possible.

1 reply

by wjhunt

This seems to work. Not sure if it is exactly what you want. You could probably set up some arrays to process more efficiently.

Thanks,
wjhunt

This discussion is closed to new replies.