This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 15376
    
    6
....options[index].selected = true;

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: list box issue
 
Similar Threads
JSF drop down change using javascript and ajax
Seam selectDate is Transparent
Unable to deploy
"Publishing Failed" error with Tomcat v5.5
Problem in DataTable List Iteration