Referring to an object in another frame
- From: "Trevor L." <tandcl@xxxxxxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 14:28:26 +1000
Is there a way to refer to (and later) an object in another frame
i.e. a function in JS is called from frame3 but its purpose is to alter an
object in frame2
I tried calling this function from frame3:
function changeit(heading){
top.frames['heading'].getElementById("banner").innerHTML = heading
}
where 'heading' is the name of frame2 and "banner" is the id of an element
in frame2
It didn't work
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
.
- Follow-Ups:
- Re: Referring to an object in another frame
- From: name
- Re: Referring to an object in another frame
- From: name
- Re: Referring to an object in another frame
- Prev by Date: Re: launching script from file being nested in another script
- Next by Date: RE: I cannot read cookie because of ASP.NET Forms Authentication c
- Previous by thread: HOWTO Detect if an element is visible.
- Next by thread: Re: Referring to an object in another frame
- Index(es):