Meaningless Drivel is fun!
The moose likes HTML, CSS and JavaScript and the fly likes list box issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "list box issue" Watch "list box issue" New topic

list box issue

Ranch Hand

Joined: Feb 26, 2005
Posts: 35
I am facing a peculiar issue with list boxes. I have 2 list boxes A and B. I am selecting value from A and move it to B on click of button. Now the issue i am facing is that i want the selected value that has been moved from A to listbox B remain highlighted. how can this be done. I tried to search on google but could not find.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
....options[index].selected = true;

I agree. Here's the link:
subject: list box issue
jQuery in Action, 3rd edition