javascript reload page every 5 seconds code example Example: reload page jquery timer setTimeout(function(){ window.location.reload(1); }, 5000);