how to refresh jquery with a timer code example Example: reload page jquery timer setTimeout(function(){ window.location.reload(1); }, 5000);