I have an HTML page with a link on which calls a Modal Dialog box window. The Modal Dialog box window contains several form fields, however this Modal Dialog window also has a link on which calls another Modal Dialog window which contains a second set of form elements. What I am trying to do is pass data from a field from the second Modal window back into a field on the first Modal window, so that it can in turn be passed back to the HTML page.
So to clarify:
1. HTML Page (page1.html) calls "ModalDialog A".
2. "ModalDialog A" has a textfield within it called "ImageURL", there is also another link which calls "ModalDialog B".
3. "ModalDialog B" has a textfield within it called "txtFileName" and a form button.
When text is entered into "txtFileName" and submitted the value of this textfield needs to be sent back into the textfield "ImageURL" on "ModalDialog A".
Sending values to the HTML page from "ModalDialog A" is fine but I seem to have problems sending values between the two Modal windows - I would have though it was possible though.
Any help would be hugely appreciated.
Many thanks in advance,