Grabbing param value from #id=3333
<p>I have this,</p>

<pre><code>var stateObj = { foo: "foo" };
function change_my_url()
{
    if (window.history &amp;&amp; window.history.pushState){
        history.pushState(stateObj, "page 2", "foo.html?id=3333");
    }else{
        location.hash = '#id=3333'
    }
}
</code></pre>

<p>In case window.history isnt supported, it will be #id=3333. Now if you load the page and it has a location.hash, it $.post request to file.php with it:</p>

<pre><code>$.post('do_something.php', { hash: hash }, function(result) { $('#photos').html(result); });
</code></pre>

<p>in do_something im grabbing it with $_POST['hash'];. Now $_POST['hash'] will contain #id=3333. How can i divide in params and grab the value, '3333' ?</p>
