themadchemist
Jul 25, 2004, 11:22 PM
Hi guys, another question. Is it possible for one to use javascript in one window to get information from another. For example:
Let's say you use window.open in a window called 'oldwindow' to create a new window called 'newwindow' that happens to have a form named 'john' and an input named 'doe' with some value.
Is it possible for 'oldwindow' to ask 'newwindow' what ...john.doe.value is?
And to make matters worse, 'newwindow' isn't allowed to do anything. In the scheme I'm imagining, I would not have any control of 'newwindow,' because my whole idea is to use 'oldwindow' as a portable console to get some information about the status of 'newwindow,' which is some other page.
Therefore, all of the scripting here needs to be in the 'oldwindow' page exclusively.
Thanks!
Let's say you use window.open in a window called 'oldwindow' to create a new window called 'newwindow' that happens to have a form named 'john' and an input named 'doe' with some value.
Is it possible for 'oldwindow' to ask 'newwindow' what ...john.doe.value is?
And to make matters worse, 'newwindow' isn't allowed to do anything. In the scheme I'm imagining, I would not have any control of 'newwindow,' because my whole idea is to use 'oldwindow' as a portable console to get some information about the status of 'newwindow,' which is some other page.
Therefore, all of the scripting here needs to be in the 'oldwindow' page exclusively.
Thanks!
