In my HTML page A, there is a button that opens up a popup window B using the window.open function. Now in that popup B, can JavaScript code change the location of A? Note: the JavaScript is in B.
I tried parent.window.location = parent.window.location; because I’m trying to refresh the parent, but it’s not working.
To refresh the parent window, try this:
Or