how can I pass parameter from javascript to php : <p>the javascript code as below...how can I pass x to php?And there is not any button. </p>

<pre><code>    function f(){
    var x = document.getElementById("point").innerHTML;
    }
</code></pre>

<p>And if I pass x to the php file,how can I receive it?</p>
