G
Gernot Pfeifer
Hello together,
I have the the following problem (since hours of Google-Search)...
I have an HTML-Page (I will call it "Mainpage")
On this Mainpage, I have an iFrame. I would now the iFrame to access
Variables on my Mainpage.
I tried the following:
On the Mainpage
[...]
testvar="Hello World";
iframename.location.reload(true);
[...]
on the iFrame-Page
[...]
alert (parent.testvar);
alert (testvar);
alert (top.testvar);
[...]
Each time I got the window "undefined".
Thank you very much for you help und Greetings from Germany.
Gernot
I have the the following problem (since hours of Google-Search)...
I have an HTML-Page (I will call it "Mainpage")
On this Mainpage, I have an iFrame. I would now the iFrame to access
Variables on my Mainpage.
I tried the following:
On the Mainpage
[...]
testvar="Hello World";
iframename.location.reload(true);
[...]
on the iFrame-Page
[...]
alert (parent.testvar);
alert (testvar);
alert (top.testvar);
[...]
Each time I got the window "undefined".
Thank you very much for you help und Greetings from Germany.
Gernot