lozina
Lifer
I have a page which has it's own form and 2 iframes which each have their own form.
When the main page submits I want it to copy the form elements from the two iframes into it's main form so that data is including in the request being submitted.
I can access the forms in the iframes but I'm not sure how to copy the form elements... I tried to grab a form element and then call appendChild() on the main form passing the iframe form element but I get an exception about 'could not convert Javascript argument'.
There's gotta be an easy way to do this?
When the main page submits I want it to copy the form elements from the two iframes into it's main form so that data is including in the request being submitted.
I can access the forms in the iframes but I'm not sure how to copy the form elements... I tried to grab a form element and then call appendChild() on the main form passing the iframe form element but I get an exception about 'could not convert Javascript argument'.
There's gotta be an easy way to do this?