I have a parent form that opens a child form so users can pick some values. When they submit the child form the values correctly populate the parent's input fields.
However, I don't want them to be fields on the parent, just text written to the page. It works when I have <input type="text"> (it will update the value). So I tried making them type="hidden" and using <script type="text/javascript">document.write(hidden form field.value);</script> but nothing happens when I submit the child form. I do NOT want to refresh the parent page.
Is there another approach to this?
Thank you!
However, I don't want them to be fields on the parent, just text written to the page. It works when I have <input type="text"> (it will update the value). So I tried making them type="hidden" and using <script type="text/javascript">document.write(hidden form field.value);</script> but nothing happens when I submit the child form. I do NOT want to refresh the parent page.
Is there another approach to this?
Thank you!