Browsing the web pages in safari browser both mobile and desktop, after sometimes back to the previous page the jquery event not triggered while clickg the browser back button, is there any workaround for the jQuery event for the browser back button on click?
IOS browser back button jQuery not working
window.onpageshow = function(event) {
if (event.persisted) {
window.location.reload()
}
};
use above code it will clear the catch and refresh the page
its working fine kudoooosssss!!!!!!!
Cheers.............