Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Onbeforeunload not working in chrome
Aman Gandhi
Oct 7 2017 12:34 AM
846
Reply
following piece of code is working fine in IE but not working in Chorme. I am trying to reload the parent window after close of popup window.
window.onbeforeunload = function (e) {
self.close();
window.opener.location.reload();
};
From server side same code working fine but i want to refresh parent page if user close page from browse close button.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Javascript debugging error in IE
Convert html content into image using jquery