Closing bootstrap modal by using hide.bs.modal not Worked

Viewed 24

i want to detect when the modal is closed but hide.bs.modal not working for me

Edit Parent i tried this on jquery

$( document ).ready(function() {
                      $(document).on('hide.bs.modal', '#editModal', function(e) {
        alert('event fired')
    });
});

i tried the jquery code on the browser console it worked fine but not working in my code

0 Answers
Related