Hi everyone. i'm working on a web page on a web community. The web community used to support operations on parent.location, or top.framename.name.
however now, whenever i try to perform an operation on any frame property, such as parent.location it gives me an "access denied" javascript error.
I don't understand why. When I output the value it gives me an object. i.e.
alert(parent.location);
will pop-up an alert box with "[object]" in it. Before this worked fine.
Also when I put
if (parent.location!="blah"
this gives me an access denied error as well. Can someone tell me what's going on here and what i can do to solve the problem?
i know it's not my browser because i tested a the javascript i'm working on in another frameset and it worked just fine.
thanks,
ken
however now, whenever i try to perform an operation on any frame property, such as parent.location it gives me an "access denied" javascript error.
I don't understand why. When I output the value it gives me an object. i.e.
alert(parent.location);
will pop-up an alert box with "[object]" in it. Before this worked fine.
Also when I put
if (parent.location!="blah"
this gives me an access denied error as well. Can someone tell me what's going on here and what i can do to solve the problem?
i know it's not my browser because i tested a the javascript i'm working on in another frameset and it worked just fine.
thanks,
ken