Navigation dont work while overriding back button HTML 5 History API
I am new with the history API.
Navigation stops working when page loads in chrome, In firefox it works
first time but then again navigation stops working. but when I comment the
function, History API doesn't work.
Here is the function that causes the problem :
$(window).bind('popstate', function() {
$.ajax({url:location.pathname,success: function(data){
$('#ttl').html(data);
}});
});
No comments:
Post a Comment