Problem refreshing iFrame with document.location.reload(true)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bb

    #1

    Problem refreshing iFrame with document.location.reload(true)

    I am trying to force an iframe to refresh from the server using the
    following javascript:

    document.frames ("frm").documen t.location.relo ad(true)

    The iframe html is:
    <iframe id="frm" name="frm" src="https://ourdomain/..." width="0"
    height="0" border="0"></iframe>

    The parent and iframe are both hosted in the same domain, and are both
    https.

    This works in IE 5.5 and 6, but NOT in IE5.0 (I get an 'unspecified'
    error.)

    As usual, any help is greatly appreciated :)
  • Thomas 'PointedEars' Lahn

    #2
    Re: Problem refreshing iFrame with document.locati on.reload(true)

    bb wrote:
    [color=blue]
    > I am trying to force an iframe to refresh from the server using the
    > following javascript:
    >
    > document.frames ("frm").documen t.location.relo ad(true)[/color]

    Try

    window.frames["frm"].location.reloa d(true);

    instead.
    [color=blue]
    > This works in IE 5.5 and 6, but NOT in IE5.0 (I get an 'unspecified'
    > error.)[/color]

    What is an "'unspecifi ed' error"?


    PointedEars

    Comment

    Working...