title: How to echo a JS variable to php?
body: <p>Is that possible to pass a JS variable to PHP ?</p>
  <p>My code is :</p>
  <pre><code>document.getElementById('designation_' + i).value = '&lt;?php echo $list[HERE]; ?&gt;';
  </code></pre>
  <p>where I is in a <code>for</code> loop.</p>
  <p>I want to echo the <code>$list array</code> in PHP with the index I of my JS (instead of HERE).
  First, is that possible? If yes, how?</p>