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
if the modal is opened in a form loaded by ajax you can use
$(document).on('hidden.bs.modal', '#photoModal', function () { cancel_camera(); document.getElementById('PhotoPerson').innerHTML = ''; });*