Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

settimeout function

setTimeout(function(){ 
$('#overlay'). modal('hide') 
}, 5000);
//#overlay will be the ID of modal which you want to hide or show modal
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #settimeout #function
ADD COMMENT
Topic
Name
2+1 =