I have this simple code on a page
$(document).ready(function () {
alert(“works”);
});
Then I go to the next page, I click in the browser back button and it doesn’t fire the $(document).ready, but if I return to previous page by a link it does. Tested on desktop browsers and no problem but doesn’t work on Safari or Chrome on IPad
Any idea? Thanks in advance