title: AJAX and using javascript history()
body: <p>I have page, that loads in data using AJAX (a form filter) using jQuery. This then gives me a list of items that I click on.</p>
  
  <p>When the page of the item loads, I have a back button, using:</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
   function navigateBack(){
    if (document.referrer.indexOf("press")&gt; -1){
     history.go(-1);
     return false;
    }
    return true;
   }
   &lt;/script&gt;
       &lt;a href="" onClick="navigateBack()"&gt;
  </code></pre>
  
  <p>But what I'd really like to happen, is that it returns to the AJAX filtered results.</p>
  
  <p>Is this possible?</p>
  
  <p>Thanks</p>