August 20, 200719 yr Hi, 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. How can this be done please?
August 20, 200719 yr other than the obvious bits that this is possible the worst way to do anything, and it wont work in many browsers... there are plenty of tutorials out there, try http://www.javascriptkit.com - thats right im putting the responsibility on someone elese shoulders!
August 20, 200719 yr Author Thank you. 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? If so then I will have to re-think.
August 20, 200719 yr you could do it with an in-window link, such as by showin an absolutely positioned div.
August 21, 200719 yr I second what the penguin said. Make everything work within the same page. 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.
Create an account or sign in to comment