"location.reload()" doesn't work for Netscape 7

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

    "location.reload()" doesn't work for Netscape 7

    Hi,

    "top.someFrameN ame.location.re load();" doesn't work for Netscape 7 (it
    works for Netscape 4.75!).

    Any idea how to fix this

    Thanks in advance

    Ante

  • Thomas 'PointedEars' Lahn

    #2
    Re: "location. reload()" doesn't work for Netscape 7

    Ante Perkovic wrote:
    [color=blue]
    > "top.someFrameN ame.location.re load();" doesn't work for Netscape 7 (it
    > works for Netscape 4.75!).
    >
    > Any idea how to fix this[/color]

    After checking that the reference does not violate the Same Origin Policy
    (see Google), try the following instead:

    top.frames['someFrameName'].location.reloa d();

    Because frame names can accidentally be identical to properties of Window
    objects, one should always use the `frames' collection to reference frames.


    HTH

    PointedEars

    Comment

    • Guy Roydor

      #3
      Re: "location. reload()" doesn't work for Netscape 7

      try : bla.bla.reload( true);

      Thomas 'PointedEars' Lahn a écrit:[color=blue]
      > Ante Perkovic wrote:
      >
      >[color=green]
      >>"top.someFram eName.location. reload();" doesn't work for Netscape 7 (it
      >>works for Netscape 4.75!).
      >>
      >>Any idea how to fix this[/color]
      >
      >
      > After checking that the reference does not violate the Same Origin Policy
      > (see Google), try the following instead:
      >
      > top.frames['someFrameName'].location.reloa d();
      >
      > Because frame names can accidentally be identical to properties of Window
      > objects, one should always use the `frames' collection to reference frames.
      >
      >
      > HTH
      >
      > PointedEars
      >[/color]

      Comment

      Working...