how can i send variable from java script function and use it for a function of PHP?
enter code here
<script>
    function showpopup(var1){
        document.getElementById('popup').style.display='block';
        document.getElementById('mane').value=var1;
    }
</script>
 
    