How to launch Bootstrap modal on page load?

Posted by Pooja Joshi | Updated on

In this example you will learn, how to launch Bootstrap modal on page load. You can use the Bootstrap .modal(‘show’) method for launching the modal window automatically when page load without clicking anything. A common example of this technique is loading the modal when user landed on the home page and requesting them to subscribe the website newsletter.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers