I am using the bootstrap modal in one of my project. I\'m using the timer functions for automatically showing the bootstrap modal.
If the user doesn\'t close the bo
Try
var myModal = $('#myModal').on('shown', function () { clearTimeout(myModal.data('hideInteval')) var id = setTimeout(function(){ myModal.modal('hide'); }); myModal.data('hideInteval', id); })