Just reload like you would a normal window...  Make sure you use the id
attribute of the tag, not the name attribute of it.

iframeid.location.href.reload();

Yes, it's src, not href...  Although an iframe is also a window, and a
window has the href attribute, so I think you can use either...



-----Original Message-----
From: Rob Rohan [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 18, 2002 1:46 PM
To: CF-Talk
Subject: RE: refresh iframe


If I remember correctly iframes have an href property you can set to
change/update the page. Like an image.

i.e.
.matchList.href = 'blah.html'

this is just off the top of my head though so I could be crazy wrong.

Rob

http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia
Est Potentia

-----Original Message-----
From: E. Keith Dodd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:18 PM
To: CF-Talk
Subject: OT: refresh iframe


Have 2 iframes in a page: iframe names are matchList and matchDetail. When
making certain updates in a matchDetail template, want to refresh the
template in matchList. Have done this in standard frames with something like
the code below in the main frame to refresh a list in a side frame: <Script>
      parent.List.location="myList.cfm"
 </script>

Is there something similar for iframes? Tried
<script>
    matchList.location="myList.cfm"
</script>
but that didn't do it.

Thanks for any suggestions.

E. Keith Dodd
Wings of Eagles Services
www.wingserv.com


-
[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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to