on 07-12-2009 6:38 AM
Hi,
could you give me any tip to make a selected entry with color for drop down box:
For the text it works good to mark up a color( with java script), but
I would like to mark up a selected entry with "red color" or "yellow color in drow down box.
Any help would be appreciated.
Thanks.
Gauguin
Edited by: Gauguin on Jul 12, 2009 7:43 AM
the js syntax for coloring the selected value is
DDLB = document.getElementById('DDLBID');
DDLB.options[DDLB.selectedIndex].style.background = "red" ;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.