View Single Post
Old 09-25-2012, 06:12 PM   PM User | #1
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 952
Thanks: 7
Thanked 98 Times in 98 Posts
WolfShade is an unknown quantity at this point
Question Parent/Child form interaction

Someone recently posted a question about having a child form that could update values in a parent form. So I started toying around with the idea.

I have a form that includes a link that will open a popup with an identical form; any changes done to the child form are reflected in the parent form.

I'm trying to do vice-versa, and am hitting a wall.

I'm setting a variable to a function that spawns the popup, but that variable is "undefined" when I try to access it.

var childForm = messageWindow(args); (messageWindow is the function and it's too much code to type, here.)

So.. how does one reference a child window in JS?

Thanks,
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

Last edited by WolfShade; 09-26-2012 at 09:08 PM..
WolfShade is offline   Reply With Quote