title: Rails datepicker help
body: <p>I'm trying to use the calendar_date_select plug-in in my rails app and am 80% of the way there. I've got this in one of my views:</p>
  
  <pre><code>&lt;%= calendar_date_select_tag "calendar", "", 
      :embedded =&gt; true, 
      :year_range =&gt; 10.years.ago..0.years.ago %&gt;
  </code></pre>
  
  <p>The calendar shows up just fine, but I can't figure out how to get the value of the selected date into a usable variable. I've seen examples like</p>
  
  <pre><code>$F('calendar') 
  $F(this)
  </code></pre>
  
  <p>but haven't had any luck. Any help would be appreciated, thanks.</p>