Is this possible with Javascript?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bAz

    Is this possible with Javascript?

    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.
  • Ian L

    #2
    Re: Is this possible with Javascript?

    barryskelly@yah oo.com (bAz) wrote in message news:<d83957f9. 0405051144.11c1 9744@posting.go ogle.com>...[color=blue]
    > 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.[/color]

    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.locatio n =
    "http://www.your-server.com/cgi-bin/complete.cgi";' .

    Comment

    Working...