title: Pass values from Javascript to PHP
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3920209/how-to-pass-js-variable-to-php">How to pass JS variable to php?</a>  </p>
  </blockquote>
  
  
  
  <p>How can I pass value from Javascript code to PHP variables.</p>
  
  <p>Say we have this:</p>
  
  <pre><code>aa = $("#amount").text($("#progressbar").progressbar("option", "value")+"%");
  </code></pre>
  
  <p>declared in the <code>&lt;script&gt;</code> tag of the Javascript, I want this to be fetch or called in the PHP code.</p>