title: Check if date is in the past Javascript
body: <p>All,
  I'm using the jQuery UI for the date picker. I'm trying to check with javascript though that the date the user has entered is in the past. Here is my form code:</p>
  
  <pre><code>&lt;input type="text" id="datepicker" name="event_date" class="datepicker"&gt;
  </code></pre>
  
  <p>Then how would I check this with Javascript to make sure it isn't a date in the past? Thanks</p>