title: Inserting a JS variable within a Django template tag
body: <p>This one is a bit tricky for me. I've thus-far resorted to query parameters instead a variable within the <code>{% url %}</code> tag, but I've just got to ask if it's doable:</p>
  
  <p>I'd like to include a JS variable within my template tag. For example:</p>
  
  <pre><code>...
  var foo = $(this).attr('title');
  $('#bar').load("{% url app.views.view foo %}");
  ...
  </code></pre>
  
  <p>Can it be done?</p>