Refresh current page (3 methods)


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. window.location.reload()
  2.  
  3. history.go(0)
  4.  
  5. window.location.href=window.location.href

Report this snippet


Comments


You need to login to view comments.