How to change the URL of window parent?

junekomodo

New Member
In my HTML page A, there is a button that opens up a popup window B using the \[code\]window.open\[/code\] function. Now in that popup B, can JavaScript code change the location of A? Note: the JavaScript is in B.I tried \[code\]parent.window.location = parent.window.location;\[/code\] because I'm trying to refresh the parent, but it's not working.
 
Back
Top