Can anyone please tell me how to check bootstrap 3.0 modal status, is it open or closed using jQuery or javascript. I used following code but it works when you have opened a mod
try checking:
if($("#addMemberModal").data('modal') && $("#addMemberModal").data('modal').isShown ) { console.log("Modal is open"); }
or
if( $('#addMemberModal').hasClass('in') ) { console.log("Modal is open"); }