Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: View info from Pop up window into parent that invoked pop up.

by peacemaker1820 (Pilgrim)
on Jul 10, 2002 at 15:38 UTC ( #180774=note: print w/replies, xml ) Need Help??


in reply to Re: View info from Pop up window into parent that invoked pop up.
in thread View info from Pop up window into parent that invoked pop up.

When I said
I want the values to remain PLUS add the value from the pop up window
What I meant was that I wanted to populate my texboxes in my parent form with the values that were entered in the pop up. However, before the pop up window was opened, some fields in my parent form were filled in already. Therefore, I want the values in the texboxes of my parent window to remain, PLUS populate the values from the pop up window into my parent form.
  • Comment on Re: Re: View info from Pop up window into parent that invoked pop up.

Replies are listed 'Best First'.
Re: Re: Re: View info from Pop up window into parent that invoked pop up.
by George_Sherston (Vicar) on Jul 11, 2002 at 10:31 UTC
    In that case you have two options. You can either do some slightly complex javascript in the pop-up using window.opener to refer back to the parent window and set the values in the parent form, or you can, as I suggested, submit the parent form at the same time you launch the pop-up, cache the submitted values, and then, when you submit the form in the pop-up, combine the two values.

    Why not pick whichever of these suits your expertise, have a go, and then, in the unlikely even it doesn't work, post the code here, and someone will probably be able to fix it up

    George Sherston

    George Sherston

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2019-08-25 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?