jjcmmgb
Posts: 1
|
| Posted: 02/03/2010, 7:09 AM |
|
Dear all
I'm testing codecharge studio but I'm not able to find out what's the way to change listbox background and foreground color depending on the value inside.
Listbox value is got from a mysql database field and can have 3 different values, high, medium and low.
What I want is that automatically for each record shown in the grid the background and/or foreground color could change depending on what's inside (high in red, medium in yellow, low in green)
What's the php code I should put there?
Should I add the code specifically to the Listbox event or one level above (in the grid)?
Thanks a lot for your help
|
 |
 |
damian
Posts: 838
|
| Posted: 02/08/2010, 2:05 AM |
|
have a look at javascript.internet.com - you will need to use some js on this one i think...
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
|