By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,729 Members | 1,523 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,729 IT Pros & Developers. It's quick & easy.

Is this possible with Javascript?

P: n/a
bAz
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.
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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";'.
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.