Jump to content


This topic is now archived and is closed to further replies.


Targeting the parent window

Recommended Posts

Hi I'm having some trouble with windows.

Lets say i have on page 1:

<a href='test.html' target='_blank'>

And on the test.html page, i want to target the window that launched it.

<a href='javascrip:document.blahblaha' target='_parent'>
edit: i know its supposed to say J A V A S C R I P T but every time i type the full word i get 406 not acceptable error O_o

but this does not seem to work. is there a way to do this?


Share this post

Link to post
Share on other sites
This might help.

[a href=\"http://www.webreference.com/js/tutorial1/opener.html\" target=\"_blank\"]http://www.webreference.com/js/tutorial1/opener.html[/a]

There's also a bunch of stuff about refreshing the parent window. That should help you because it will show you how they targeted the parent window for refresh. You can prune through and see what you want.

[a href=\"http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2005-09,GGGL:en&q=target+parent+window+in+javascript\" target=\"_blank\"]http://www.google.com/search?sourceid=navc...w+in+javascript[/a]

But I think the first one will help the most.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.