File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 832
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: 15385
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.

I agree. Here's the link:
subject: Reload/Refresh a page
jQuery in Action, 3rd edition