aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes highlighting selected options in a dropdown Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "highlighting selected options in a dropdown" Watch "highlighting selected options in a dropdown" New topic
Author

highlighting selected options in a dropdown

Gabriel Tomoloju
Greenhorn

Joined: Feb 23, 2004
Posts: 20
Hello guys,
I am trying to highlight some selected options of a dropdown
, by changing the background color of the option, if possible. I am struggling with this. Has any one done this before or has ideas or references.
Thanks.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
inside of the option tag use css

Eric
Gabriel Tomoloju
Greenhorn

Joined: Feb 23, 2004
Posts: 20
That works OK using a CSS file
Thanks
 
IntelliJ Java IDE
 
subject: highlighting selected options in a dropdown
 
Threads others viewed
DropDown : Getting Options Name
ice:selectOneMenu not refreshing
implementing dynamism dropdown box
validate a ajax dropdown
Show the selected value in dropdown again
Two Laptop Bag