Tim Titus
asked on
Problem closing child browser window in IE10
My code opens a child window which will fetch the "Updated.htm" page as a background process (if it is done as a foreground process, the animated GIF won't animate).
Once the page returns 200, then the parent window is refreshed, and then the small child window closes.
Everything works perfectly on all browser versions except for IE10.
On IE10, the parent window is refreshed, but the child does not close.
Any idea why the child does not close on IE10?
PageUpdate.htm
Once the page returns 200, then the parent window is refreshed, and then the small child window closes.
Everything works perfectly on all browser versions except for IE10.
On IE10, the parent window is refreshed, but the child does not close.
Any idea why the child does not close on IE10?
PageUpdate.htm
ASKER
Nope, didn't work. The window still stays open.
Just add a button in PageUpdate.htm and in onclick give
self.close();
want to know whether its a problem of self.close();
Also try this in your existing code
replace
self.close();
with
setTimeout(function() {
self.close();
}, 2000);
self.close();
want to know whether its a problem of self.close();
Also try this in your existing code
replace
self.close();
with
setTimeout(function() {
self.close();
}, 2000);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I changed this to the following and it works perfectly in IE10 as well as all other browsers now:
Thats great... good to know its fixed.
You can close this question by selecting your own solution as answer.
-kiranvj
ASKER
Self solved with further research
Add this inside head that in PageUpdate.htm and check in IE10
Open in new window