Home  »  CodeSnippets   »   How to Show Bootstrap Modal After a Delay

How to Show Bootstrap Modal After a Delay

Posted: February 8, 2022 | by Site Host

This will delay for 2000 milliseconds (2 seconds):

setTimeout(function() {
    $('#myModal').modal();
}, 2000);

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.

Share it!

See also  How to use Google Font Roboto