Bootstrap modal work with an anchor tag if we click on it then modal appears. I want it to appear it while we load a page. What should I do. Here is my code.
<a class="popup-trigger" href="#my-popup">Open Popup</a>
<div id="my-popup" class="popup">My Popup</div>
Now if we click on this first anchor tag the modal will be open. I want this to open automatically while loading a page. Thanks.