The following piece of code can be used to set a timer using jQuery: $(document).ready(function() { window.setTimeout(function() { // some code }, 500); }); Tagged: 2015ExistsTimer