jcink Posted April 15, 2006 Share Posted April 15, 2006 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_obut this does not seem to work. is there a way to do this?Thanks,Jcink Quote Link to comment https://forums.phpfreaks.com/topic/7500-targeting-the-parent-window/ Share on other sites More sharing options...
jbog91 Posted April 16, 2006 Share Posted April 16, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/7500-targeting-the-parent-window/#findComment-27370 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.