Click to See Complete Forum and Search --> : remotly change text box


saxo
12-15-2003, 10:07 AM
A have a firstpage that has a form. One item of that form is a calculated value. To calculate that value, i open a second page that helps make the calculations.
What i want to do is this: When i submit the form in the second page, i get a result, that i have to copy-paste to my firstpage. Is there a way to automatically change que value of the text box in firstpage, from the second page?

Thanks

pnaj
12-15-2003, 11:39 AM
This depends on how you have set things up.

If the 'calc' window is opened by javascript using the window.open() function, then the child can communicate with the window that opened it with javascript by referring to window.opener, and thus access all of the form elements.

Hope that helps!

saxo
12-15-2003, 12:21 PM
Perfect.

Thanks