title: Getting a var variable from document.getElementById('name') into a php variable
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1917576/how-to-pass-javascript-variables-to-php">How to pass JavaScript variables to PHP?</a><br>
    <a href="https://stackoverflow.com/questions/8191124/send-javascript-variable-to-php-variable">send javaScript variable to php variable</a>  </p>
  </blockquote>
  
  
  
  <p>I have document.getElementById('name') field in a document that it's value is changed by script, when i do a post(to server) i want to get the current value of the document.getElementById('name') and set it in </p>
  
  <p>in 
  
  <pre><code>$temp= document.getElementById('name');
  ?&gt;
  </code></pre>
  
  <p>p.s. I know that the script code is don client side and the php i server side but i need this workaround so please help..</p>