title: Pass Javascript Variable Value in PHP
body: <p>I want to access javascript variable inside PHP. How Can I do this? </p>
  
  <p>below is my javascript onClick of button I am getting value in alert.</p>
  
  <pre><code>$(".check").click(function(){
    var priceee = document.getElementById("total-price").value;
    //alert(priceee);
  });
  </code></pre>