
I will browser click then show this popup . But here i will face a problem . I will click reload button and cancel button but same work those all button . I want to delete data only Reload button.
window.onbeforeunload = function (e,f) {
e = e || window.event;
//f = window.event;
// For IE and Firefox prior to version 4
if (e) {
e.returnValue = AjaxCall();
}
// For Safari
return 'Any string';
};
This my code . Please solve this issue.

Ronika JencyRank #770 · 3K reputationPosted Oct 22, 2019, 7:29 PM EDT
Ronika JencyRank #770 · 3K reputationPosted Oct 22, 2019, 2:55 AM EDT
Sourabh DhimanRank #4,768 · 326 reputationPosted Oct 22, 2019, 3:21 AM EDT