title: AJAX and Jinja2
body: <p>I want to use an AJAX call with parameters within a Jinja2 template. But how do I make it possible? I want to do something like this.</p>
  
  <p>JavaScript:</p>
  
  <pre class="lang-javascript prettyprint-override"><code>$.get("test.html", { name: "John", time: "2pm" } );
  </code></pre>
  
  <p>jinja template:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div&gt;
  {{name}} {{time}}
  &lt;/div&gt;
  </code></pre>