ajax - How to refresh page when clicking on "go back one page" with jQuery? -
well know it's bad practice , don't want hold user on site show him thousands of popup ads. it's have ajax loaded htm contents overwriting index.html. url same page content different. , when user clicks "go 1 page" in browser controls leave site if doesn't want to. increase usability want refresh page when doing , htm-content loaded. possible? try this.. create button id "back" go 1 page . jquery.. $('#back').click(function(){ document.location.href= "index.html"; });