best way to set jquery settimeout set value code example Example: settimeout jquery setTimeout(function(){ alert("Hello"); }, 3000);