title: how to redirect to a page with jQuery/CoffeeScript
body: <p>I am trying this but have an jQuery Error</p>
  
  <pre><code>$(location).attr("href",'/imageblocks/'+$(el).attr('id')+'/edit/')
  </code></pre>
  
  <p>It works perfectly on JavaScript but trigger an jQuery error with CoffeScript, i guess it's the $(location) but can't find the correct word.</p>