<input type="button" value="click!" /> <script> $(document).ready(function(){ $("input").click(function(){ setTimeout( function() { location.reload(); }, 2000 ); }); });