From the popup of a child (opens with window.open), I am trying to change the URL of the popup, for example.
window.opener.location.href = ' http://www.google.com ';
In all browsers, this works just fine, with the exception of IE8 (and I'm sure it worked in previous IE8. Perhaps a security update kills this).
In IE8, what happens is that the line above is considered as a request to open a NEW window with an address, and the original window of the opening window remains unchanged. And, since I do not put this line inside the onclick event, this is seen as a popup.
So how do I do this in IE8? How to change the location of the opener?
source share