In a standard Java / SpringMVC / JSP / jQuery web-app, I\'m trying to detect a \"Back\" (or history.go(-1)) event, in order to refresh (AJAX) a summary component/panel content w
I know this is a bit late but this works for me:
window.onpageshow = function(e) { if (e.persisted) { alert("Page shown"); window.location.reload(); } };
I don't think you need it in the document ready function, just use vanilla as above.