javascript page reload

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

With this statement you can reload a page, this will also reset any forms on the page.

Copy this code and paste it in your HTML
  1. window.location = window.location.href;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.