How Can I Detect The Mobile Back Press Event To Call Previous form Action
posted 1 year ago
I am working in a company and my company website is work properly on desktop but in mobile(develop in java), when user press back button( touch phone) , page redirect to the previous page but page not loaded and wait page is not come. and when go to next page again , previous selected choice are filled. I have also used the meta command to clear cache(<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Refresh" CONTENT="0">) but not working in mobile.So i have to call the these action......
var contextPath = document.getElementById("contextPath").value;