How do I open a link in a Parent Window?

Hi,<br /><br />I'm using Javascript to open up a pop-up window (Not an Ad) when a user clicks a link. Now when a user clicks submit within the pop-up I want it to process but open a new tab/window in the parent. <br /><br />How can this be done please?<!--content-->
other than the obvious bits that this is possible the worst way to do anything, and it wont work in many browsers...<br /><br />there are plenty of tutorials out there, try <!-- m --><a class="postlink" href="http://www.javascriptkit.com">http://www.javascriptkit.com</a><!-- m --> - thats right im putting the responsibility on someone elese shoulders!<!--content-->
Thank you.<br /><br />All I wanted was when a user clicks a link, it opens a confirmation window that when the link is pressed it returns to the window it came from, is this really bad practice?<br /><br />If so then I will have to re-think.<!--content-->
you could do it with an in-window link, such as by showin an absolutely positioned div.<!--content-->
I second what the penguin said.<br /><br />Make everything work within the same page. <br />Then, if you want to enhance the user experience and let the user perform tasks, such as logging in, or answering a question; use some AJAX override the original behaviour.<!--content-->
 
Back
Top