How Do You Think About Respective Callback For Bootstrap Modal Triggers?
On bootstrap modals, we know that we can bind events for triggers like show or hide using show, shown, hide, hidden, but this event binding only works for general case. What I want
Solution 1:
Check out the section titled Events here:
http://getbootstrap.com/javascript/#modals
Hopefully, it will give you all the information you need
Solution 2:
You can use shown
events to detect when the modal has been made visible on the screen:
$('#myModal').on('shown.bs.modal', function (e) {
alert("This pops-up after #myModal is shown properly.");
})
You can check for more information in the events
section of modal here.
Post a Comment for "How Do You Think About Respective Callback For Bootstrap Modal Triggers?"