Answers for "how to delay set timeoute"

28

timeout javascript

setTimeout(function(){
 	//code goes here
}, 2000); //Time before execution
Posted by: Guest on April-13-2020
2

settimeout function

setTimeout(function(){ 
$('#overlay'). modal('hide') 
}, 5000);
//#overlay will be the ID of modal which you want to hide or show modal
Posted by: Guest on November-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language