This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "list box issue" Watch "list box issue" New topic
Author

list box issue

zaxxon25
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
author
Rancher

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

Eric
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: list box issue