ba*********@yahoo.com (bAz) wrote in message news:<d8**************************@posting.google. com>...
I was just wondering if this was possible.
I have a website that opens a popup, from that popup the user can
submit a form, when the form is submitted I would like for the link
once the form is submitted to appear in the original window (not the
popup).
Thanks for any help you might give.
Okay, I'm not sure whether you want a link to appear or to have the
link to bring the original window over to that URL. Whichever the
cause, the pop-up can refer to it's parent window (the window that
opened the pop-up) as 'opener'. For example, 'opener.alert("This is a
alert");' will cause it's parent window to alert its user "This is a
alert". So if you need to change the original window's URL, you can
refer it as 'opener.location =
"http://www.your-server.com/cgi-bin/complete.cgi";'.