Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Reload in NS 4.08


Message #1 by dvan@a... on Fri, 28 Sep 2001 13:53:07
Try
history.go(0)

/Peter

----- Original Message -----
From: <dvan@a...>
To: "JavaScript HowTo" <javascript_howto@p...>
Sent: Friday, September 28, 2001 1:53 PM
Subject: [javascript_howto] Reload in NS 4.08


> I have been testing the following. A language parameter is set, store 
in a
> cookie and then the only thing I want to do is reload the page.
> In IE that works fine.
> In NS, the reload does not work at all.... unless I put the alert
> statement in there and suddenly the reload starts.
> Can someone explain or show the right way.
> Thanks
>
> Language =3D InLanguage
> document.cookie=3D"IataLanguage=3D" + Language + "; path=3D/"
> if (its_ie)
> {
> self.location.reload(false)
> }
> else
> {
> location.reload(true)
> alert("Now reloading")
> }
>
peter.mickelsson@b...
$subst('Email.Unsub')
>


  Return to Index