title: onclick event on checkbox in haml/rails
body: <p>I want to implement realtime events (google analytics) on our filter engine. </p>
  
  <p>This is my code: </p>
  
  <pre><code>%fieldset
    .checkbox
      %input{type: "checkbox", value: ".range-1", :onclick=&gt;"_gaq.push(['_trackEvent', 'Price', 'Range 100-200', 'Yep']);" }
  </code></pre>
  
  <p>This is the html: </p>
  
  <pre><code>&lt;div class='checkbox'&gt;
   &lt;input onclick="_gaq.push(['_trackEvent', 'Price', 'Range 100-200', 'Yep']);" type='checkbox' value='.range-1'&gt;
   &lt;label&gt;€&lt;/label&gt;
  </code></pre>
  
  <p>This code don't work. What a i doing wrong here ? </p>
  
  <p>thanks..remco</p>