settimeout jquery
snippet in javascript

settimeout javascript

user1372

setTimeout(function(){
 	console.log("hello");
}, 3000); //wait for atleast  3 seconds before console logging

settimeout jquery

user1431


 setTimeout(function(){ alert("Hello"); }, 3000);
 

javascript settimeout

user3956

setTimeout(function(){
 	alert("Sup!"); 
}, 2000);//wait 2 seconds

settimeout js

user6850


 setTimeout(function(){ alert("Hello"); }, 3000);

 //1000ms = 1 second

timeout javascript

user9742

setTimeout(function(){
 	//code goes here
}, 2000); //Time before execution

jquery settimeout

user2299

setTimeout(function(){ alert("Hello"); }, 3000);