how to send variable form javascript to php?
<p>how can i send variable from java script function and use it for a function of PHP?</p>

<pre><code>enter code here
&lt;script&gt;
    function showpopup(var1){
        document.getElementById('popup').style.display='block';
        document.getElementById('mane').value=var1;
    }
&lt;/script&gt;
</code></pre>
