javascript thread: SV: Re: Force IE to refresh child when URL and name are not changed.
And also (don't know how IE reacts to this), it should be:
MyWindow.location.reload(true); // The boolean true is for a 'hard
refresh', as opposed to a 'soft' which just gets the page from the
browser's cache.
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Joe Fawcett [mailto:joefawcett@r...]
Skickat: den 11 september 2002 08:05
Till: javascript
=C4mne: [javascript] Re: Force IE to refresh child when URL and name are
not changed.
I think it's reload:
MyWindow.location.reload();
Joe
----- Original Message -----
From: "Greg Griffiths" <greg2@s...>
To: "javascript" <javascript@p...>
Sent: Tuesday, September 10, 2002 10:42 PM
Subject: [javascript] Re: Force IE to refresh child when URL and name
are not changed.
> you may be able to do something like
>
> if (myWindow)
> {
> // window exist, so just call a refresh
> > }
> else
> {
> // need to open it.
> var wid
> wid =3D
window.open('DisplayReport.asp?ID=3D<%=3DID%>','MyWindow')
> }
>
> At 14:41 10/09/02 -0500, you wrote:
> ><Script>
> >var wid
> >wid =3D window.open('DisplayReport.asp?ID=3D<%=3DID%>','MyWindow')
> ></Script>
> >
> >I have this little script on a page. The ID in the url is used to
> >get session information which is used to build the report. If the
> >child window is already open, IE seems to come to the conclusion that
> >since the NAME and URL are equal to a currently existing child it
> >doesn't have to get anything from the server and just reserves the
> >existing page. So,
how
> >can I make IE go back to the server and build the new page? The
> >whole system works just fine in Netscape.
> >
> >Thanks,
> >
> >Jerry
> >
> >
> >---
> >
> >Improve your web design skills with these new books from Glasshaus.
> >
> >Usable Web Menus
>
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogra
> >mme
> >r-20
> >Constructing Accessible Web Sites
>
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
m
e
> >r-20
> >Practical JavaScript for the Usable Web
>
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
m
e
> >r-20
>
>
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
> me
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
> r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20