Controlling elements across frames in Netscape 4.
Can anyone assist, please.
I am trying to change the text of a DIV element in another frame. This works with DOM but I also have it working in Netscape 4.7.
For NS 4.x I am using:
parent.frames['head'].document.layers['pageheader'] = text
where 'head" is the name of the frame and pageheader is the ID of the DIV in this frame but it doesn't work...
try, for NS4:
var obj = top.frames['head'].document.layers['pageheader'].document;
Thanks but the console reports that "top.frames.head.document.layers.pageheader has no
The element inside "head" is <div id="pageheader" class="headtext"> </div>
Any other suggestions?
than try parent.frames['head'].....
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)