How to use data created by JS in PHP?
<p>This is my code</p>

<pre><code>&lt;script type="text/javascript"&gt;
function countNumber(){
  var number = 10;
  document.getElementById("n").innerHTML=number;
}
&lt;/script&gt;
&lt;body onload="countNumber()"&gt;
&lt;?php
$a = "?"; //&lt;-- here i want to get the innerHtml of the "n"-id-element
echo $a+1;
?&gt;
&lt;/body&gt;
</code></pre>

<p>How do  I access the HTML-data at the initialization of $a?</p>
