TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sourabh Dhiman
NA
323
57.9k
Close Tab and Browser Issue ?
Oct 22 2019 2:26 AM
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.
Reply
Answers (
3
)
Alert not show with beforeunload event.
Code issue into jquery ?