Post Javascript variable to PHP
<p>I use Facebook JavaScript SDK.
I want to know how to post the Javascript variables to another page with GET or POST or any other way.
For example i have:</p>

<pre><code>userInfo = document.getElementById('user-info');
</code></pre>

<p>How to post it to new page ?</p>

<pre><code>location.href="http://www.walla.com/?info=" + info.id;
</code></pre>

<p>Not working</p>
