run modal box after 1 second in javascript jquery code example
Example: showing bootstrap modal after a delay
setTimeout(function() {
$('#myModal').modal();
}, 2000);
setTimeout(function() {
$('#myModal').modal();
}, 2000);