faqts : Computers : Programming : Languages : JavaScript : Document

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

310 of 375 people (83%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How to refresh/reload the current document?
How to refresh/reload the current document?

Feb 13th, 2000 04:46
Martin Honnen,


To make a soft reload call
  window.history.go(0);
or
  window.location.reload();
To make a hard reload (unconditional http get request) call
  window.location.reload(true);
Note that
  window.location.reload()
is js1.1 so works in NN3+ while 
  window.history.go(0);
works in NN2 too.