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

A

Ante Perkovic

Hi,

"top.someFrameName.location.reload();" doesn't work for Netscape 7 (it
works for Netscape 4.75!).

Any idea how to fix this

Thanks in advance

Ante
 
T

Thomas 'PointedEars' Lahn

Ante said:
"top.someFrameName.location.reload();" doesn't work for Netscape 7 (it
works for Netscape 4.75!).

Any idea how to fix this

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

top.frames['someFrameName'].location.reload();

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


HTH

PointedEars
 
G

Guy Roydor

try : bla.bla.reload(true);

Thomas 'PointedEars' Lahn a écrit:
Ante Perkovic wrote:

"top.someFrameName.location.reload();" doesn't work for Netscape 7 (it
works for Netscape 4.75!).

Any idea how to fix this


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

top.frames['someFrameName'].location.reload();

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


HTH

PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top