title: Coffeescript clear text in in text box on click
body: <p>I am trying to clear text from a simple text box when a radio button is clicked. Here is my coffeescript...</p>
  
  <pre><code>  $("#selection_single").click -&gt;
      $("#from_date_text").text("Single Date")
      $(".multiple_dates").hide()
      $('#to_date').text("")
  </code></pre>
  
  <p>...and here is the text box...</p>
  
  <pre><code>&lt;input id="to_date" name="to_date" type="text" /&gt;
  </code></pre>
  
  <p>The other JS in this particular snippet works, just not the one for to_date. Ideas?</p>