Oh since it's one iframe from another, you need to go via the parent
page, i.e. one step up then one step down. Something like
window.parent.document.all.item('matchList').src = "admMatchList.cfm"

Oh dear, my JS is very dodgy...

> -----Original Message-----
> From: E. Keith Dodd [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 19 December 2002 11:37 a.m.
> To: CF-Talk
> Subject: Re: refresh iframe
> 
> 
> I may be missing something, but tired this--as well as 
> various combinations
> of src and href as suggested by others--and nothing does the refresh.
> This in the detail iframe:
> <script>
>     document.all.item('matchList').src = "admMatchList.cfm"
> </script>
> matchList is the ID for the other iframe. (tried using the 
> name rather than
> id, but that didn't work either.)
> 
> Here are all my templates:
> MainTemplate: admMatches.cfm
>     which contains:
>   a.  iframe with ID of matchList and using template admMatchList.cfm
>     and
>    b.  iframe with ID of matchDetail and using template 
> admMatchDetail.cfm
> 
> When updating within matchDetail, want to refresh matchList's template
> 
> Keith
> 
> ----- Original Message -----
> From: "Matthew Walker" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 18, 2002 4:51 PM
> Subject: RE: refresh iframe
> 
> 
> > document.all.item('matchList').src = "http://...";
> > where matchList is the iframe's id.
> >
> >
> >
> 
> 
> -
> [This E-mail scanned for viruses by declude AntiVirus Software]
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to