Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: firefox IFRAME

  1. #1
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    firefox IFRAME

    It appears firefox location.reload() doesn't quit work like IE...

    In IE I get a newer document (if it has changed I see the changes) however firefox caches the damn document and requires a entire page refresh (not just IFRAME) inorder to get the updated document

    I've tried everything...from changing the URL back and forth...replace, reload i've even replaced the HTML using innerHTML and tried removeCHild incase I could somehow remove the element from the DOM and re-create it in hopes that it would trick the browser into thinking an entire page refresh had bee executed.

    Anyone know how firefox can be tricked into retreiving a new document and NOT cache it???

    Thanks

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    The Planet Earth Code Poet: True
    Posts
    282
    Thanks
    0
    Thanked 1 Time in 1 Post
    Show us some code. My crystal ball has been on the fritz lately but it sounds like you are trying to do a location.reload() on just an Iframe, is that right? If so you may want to try:

    location.reload(1)

    Which should force a download from the server rather than local cache.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •