Jin Liying
May 4th, 2002, 02:44 AM
There are two frames:leftFrame and rightFrame. In rightFrame, there is a Test-function:
function Test()
{
alert("test");
}
In leftFrame, I write the following Javascript code:
parent.rightFrame.document.Test();
when I run the page, an error occur: Deny access.
How can I invoke the functions in another frame?
Thanks!
function Test()
{
alert("test");
}
In leftFrame, I write the following Javascript code:
parent.rightFrame.document.Test();
when I run the page, an error occur: Deny access.
How can I invoke the functions in another frame?
Thanks!