jqueryexample.com how to refresh/reload a page using jQuery? - jqueryexample.com

how to refresh/reload a page using jQuery? by jqueryuser

A simple method reload or refresh the webpage using jQuery.

var autoRefresh = setInterval(
function loadPage() {
   location.reload();
};
$(document).ready(function() {
  setTimeout("loadPage()", 10000); .
});
Simple HTML tag also serve our requirement.
<meta http-equiv="refresh" content="5">
Did you like this? Share it:

Discussion

No comments yet, be the first.

Leave a Comment