dlzone
asked on
Passing values from child to parent
Hello,
I have a simple form with a textarea and a button. When the button is pressed, a window pops up that contains an input box and an another textarea. When the button inside the pop up window is pressed, the value from the child textarea is passed back to the parent textarea.
The question is, how do I pass the value in the child input box and just store it in a variable inside the parent window?
I have a simple form with a textarea and a button. When the button is pressed, a window pops up that contains an input box and an another textarea. When the button inside the pop up window is pressed, the value from the child textarea is passed back to the parent textarea.
The question is, how do I pass the value in the child input box and just store it in a variable inside the parent window?
you can write in child window button declaration: onclick="document.parent.f orm_name.t extarea_na me.value = document.child_form_name.c hild_texta rea_name.v alue" is that i understood?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the quick response.
Any idea on the word document question?
Any idea on the word document question?
hi guys,
is there any way i can pass the multiple-selected checbox value from child to parent?
i was thinking of an array to pass multiple values from child and iterate the return values in parent (and store it in the text box).
Appreciate any valueable inputs.
is there any way i can pass the multiple-selected checbox value from child to parent?
i was thinking of an array to pass multiple values from child and iterate the return values in parent (and store it in the text box).
Appreciate any valueable inputs.
I would to store the return values in comma delimited format
ASKER