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