Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh button

Status
Not open for further replies.

karlito

Technical User
Jun 28, 2001
8
GB
Hi,

I Checked all the previous threads on the subject and tried everything that was suggested. Result: niet...

All I want is a javascript, that would do exactly what the refresh command does on IE.
just like the history.back() script, makes the browser go back by one page, I was kind of hoping that there'd be a window.refresh()/reload() script. Unfortunately not.

Any ideas?

Thanks






 
hie
tryed window.location.reload() ? regards, vic
 
<form>
<input type=&quot;button&quot; value=&quot;Refresh&quot; onClick=&quot;location.reload()&quot;>
</form>
 
Thanks guys but I've already tried these.

I think the problem lies with the fact that my page is split in three frames.

When a button is clicked at one point the page is overwritten by some content generated from an xml file.

My links available on one of the frames, open my new file on a new window as a result.

However if I refresh my page, all links are opened on the same window and the right frame. Thats the reason I want to refresh my page as soon as the page is overwritten.

any ideas, or are you just confused?

thanks
 
try this: window.location=&quot;javascript:history.go(0)&quot;; -Greg :-Q
 
May be it's better to post a link to see what the problem is?
(You could post it somewhere for free - do not use your actual address).
D.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top