title: pushState and back button works but content doesn't change
body: <p>It does load a new page and the url does update, but when I press the back button, only the url has changed without refreshing but the content doesn't. </p>
  
  <pre><code>$('button').click(function(){
    window.history.pushState({}, '', 'page2.php');
    $('body').html('&lt;div class="loading.gif"&gt;&lt;/div&gt;');
  
    //Load Page
    $.get('page2.php', function(data){
      $('body').html(data);
    };
  
    //Edited 
    $(window).bind('popstate', function(){
      //What should I code here??
    });
  });
  </code></pre>