title: Navigation menu dont work while overriding back button HTML 5 History API
body: <p>I am new with the history API. </p>
  
  <p>Navigation menu stops working when page loads in chrome, In firefox it works first time but then again navigation menu stops working. but when I comment the function, History API doesn't work. Everything else works fine. No JS or Ajax errors.</p>
  
  <p>Here is the function that causes the problem :</p>
  
  <pre><code> $(window).bind('popstate', function() {
      $.ajax({url:location.pathname,success: function(data){
        $('#ttl').html(data);
      }});
    });
  </code></pre>
  
  <p>check out here : <a href="http://ddvsdakor.com/test/services/logo-designing-and-branding.w" rel="nofollow">http://ddvsdakor.com/test/services/logo-designing-and-branding.w</a></p>