|
Posted by endlesstide on 07/23/06 20:43
Kevin Darling wrote:
> alxasa@gmail.com wrote:
> > <FRAMESET ID="MAIN_BODY" FRAMESPACING="0" ROWS="100%,*">
> > <FRAME NAME="frameA" SRC="./contentA.htm">
> > <FRAME NAME="frameB" SRC="./contentB.htm">
> > </FRAMESET>
> >
> > 'contentA.htm' has a <IFRAME> inside of it [...]
> > So, what I want to do, is from this IFRAME named 'internal', call a
> > Javascript function sitting in the contentB.htm file.
> >
> > I've tried: top.frameB.functionname() but get "frameB" is null or not
> > an object.
>
> We have a corporate application that does this all the time. Using
> either "top." or "parent.parent." should work fine.
>
> One reason it wouldn't work is if one of the frames actually comes from
> a different website. Then security will prevent you from accessing the
> other frame.
>
> Cheers, Kev
Hi Kev! This is on the same domain, so no security issues. But, I
tried both of those top.top.frameB.functionname() and
parent.parent.frameB.functionname() but it doesn't work (still get the
'null or not an object error') Do you think it be something else?
Thank you so much for looking at this -- this is trying me bonkers!!
[Back to original message]
|