set timeout for a jquery function code example Example: settimeout jquery setTimeout(function(){ alert("Hello"); }, 3000);