• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reload/Refresh a page

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic