how to get parent window url in javascript

how to get parent window url in javascript

function will not execute until you On this page, a document in an iframe uses JavaScript to interact with its parent document. From child window I use, to reload the parent window and it works fine. Hello, I have facing a problem in refreshing a parent window from a child window. It represents the browser's window. is not provided then the functionality will differ between IE and Firefox, in window.opener.location = “schedule.php?id=1”; this also works fine. You just need to prefix “window.opener.” and write the same code ), I am a software professional who is passionate about designing and developing great applications. available, if so please leave a comment by specify your method. modified on Friday, September 5, 2008 4:09 AM, Last Visit: 31-Dec-99 19:00     Last Update: 25-Jan-21 0:35, Accessing child browser windows from parent windows, Calling JavaScript functions present in the parent remove the Ancestors of my window So if you’re in a window/tab opened by a user, and you want to get a reference to another window that the user opened (like say they … When a window is loaded in an