How to pass a JS value into a PHP parameter : <p>In the code added here, I pass on value from PHP parameter to JS parameter:
Both parameters are called 'stv'.</p>

<p>I wonder how do I do the exact opposite?</p>

<p>Thanks!</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script&gt;
var stv="&lt;?php echo $stv; ?&gt;";
&lt;/script&gt;</code></pre>
</div>
</div>
</p>
