In my web page, I have a table of dates (my date format is dd-mm-yyyy)
<tr>
<td>05-03-2012</td>
<td name="expiration">09-07-2012</td>
<td>08-10-2012</td>
<tr>
What I want is to put in red color expiration dates when their value is > current date, using Jquery.
So, I think I am going to use something like :
<script>
//don't know how to retrieve the expiration date and check if it is after the
//current date
$('td[name=expiration]').css({"color":"red"});
</script>