I open a small popup window with some javascript. On the small popup window I have a couple of link and I want that those link will open a new page on the parent window (the window with the javascript). How can I do that? TARGET=.. need a window name, but I don't know how to assign a name to the first window. Thanks
Nope. None of them will do the trick. They both open a new window/tab. Maybe the problem lies in the fact that I opened this window with javascript
unfortunately _parent doesn't work. As I said before, I think the problem is that I opened the popup with javascript's window.open()
to refer to the parent window you can use. window.opener and to change the page on the parent you can do window.opener.location.href='newpage.htm' hope this helps, bye