This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Reload/Refresh a page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Reload/Refresh a page" Watch "Reload/Refresh a page" New topic

Reload/Refresh a page

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 819
I have a page with 2 frames. In the first frame there is a javascript that gets triggered when loading the page. The first frame is actually a perl script that gets called and sometimes regenerates a particular page for frame 2. How can I reload the page in frame 2 without adding onto the history (i.e. I don't want to have to click the Back button twice to get to the page prior to the perl script being called). I tried using window<dot>parent<dot>frames["name"]<dot>document<dot>referesh()? I got an error on that line when it loaded the page. Using IE 6.0.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
it is reload() not refresh(), you probably should use replace and just add the document's location in it. If it cache's then use a timestamp on a query string.

GeeCON Prague 2014
subject: Reload/Refresh a page