title: How to set a value to a Jinja2 variable by Java script
body: <p>I am trying to populate an HTML table using a set of Jason Data Objects. In order to do this i am using jinja template. For data population purpose um going to iterate a jinja data list and i want to set the list value from a java script function .  </p>
  
  <p>HTML TEMPLATE:</p>
  
  <pre><code>{% for object in list %}
   &lt;td&gt;object.name&lt;/td&gt;
   &lt;td&gt;object.age&lt;/td&gt;
  {% endfor %}
  </code></pre>
  
  <p>IN AJAX HANDLER Im Sending a list Via JSON and its in my Java script.
  How to set the list jinja2 variable value from Javascript or from Ajax Handler?</p>