how can I use history.pushState?
<p>I'm trying to make history for my site but the tutorials wasn't useful too much.</p>

<p>the links doesn't work at all.</p>

<p>it is my js function:                                                            </p>

<pre><code>function sendGet(url,des,dataform){
     //some ajax code...
     var stateObj = { state: 1 };
     history.pushState(stateObj, "", "?sendGet="+url+"@"+dataform);
return false;
}
sendGet("parts/login.php","","content")
</code></pre>

<p>for example when that function execute, this link has to set in browser history:</p>

<pre><code>http://domain.com?sendGet=parts/login.php@content
</code></pre>

<p>any solution why my code is not working?</p>
