Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Reload/Refresh a page" Watch "Reload/Refresh a page" New topic
Author

Reload/Refresh a page

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reload/Refresh a page
 
Similar Threads
javascript and JSP
Javascript and JSP (urgent)
Sequence of Events
Problem refreshing page
Frame Problem