|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
[Address] how to access the Windows Script variables father plant Which Big Brother know how to obtain the Windows Script variables plant if a father
Such as :
I defined variables var father Windows a.htm a=new object ();
How the activated window in the Windows a.htm b.htm obtain the value of a variable defined?
|
Jijiji !!!!!!Javascript experts to help go up in smoke.
Parent.a |
Jijiji !!!!!!Javascript experts to help go up in smoke.
Parent.a seems not to die |
Jijiji !!!!!!Javascript experts to help go up in smoke.
Is this the
A.htm
[code]
"Iframe defended" b.htm "" </iframe>
"Script>
Var a = "abc"
"/script>
[/code]
B.htm
[code]
"Script>
Alert (parent.a)
"/script>
[/code]
I had a good test |
Jijiji !!!!!!Javascript experts to help go up in smoke.
Thank you, but I have to pop window
A.htm
"Script>
Var a = "abc"
"/script>
"Onclick= a" open ( 'b.htm,' '_blank', '') "style='mso-footnote-id:ftn1'" # "" b.htm</a>
B.htm
"Script>
Alert (parent.a)
"/script>
|
Jijiji !!!!!!Javascript experts to help go up in smoke.
Alert (opener.a) |
Thank you [already] Thank you, son of Big Brother |
|