If I want to add an CSS style for a field in a table that has the value that is equal to the current time or greater than the current time but it is less than the value of the next field, how can I do this using Jquery?
The sample of table looks like this:
-----------------------
field | current time
-----------------------
1 | 05:25
2 | 07:30
3 | 09:18
4 | 10:13
5 | 12:44
If the current time is 09:50 the field No.4 should have a different background color (If the current time is 05:30 then the field No. 2 , ...)
Thanks for all suggestions.