Answers for "jquery check if modal dialog is open"

1

jquery on modal show

$(window).on('shown.bs.modal', function() { 
    $('#code').modal('show');
    alert('shown');
});
Posted by: Guest on October-01-2020
1

check if modal hide jquery

alert($('#registration-exams-modal').hasClass('show'));
Posted by: Guest on July-30-2020
0

jquery works until modal is shown

$(document).on('show.bs.modal', '#reservationModal', function (e) {
    console.log('works');
});
Posted by: Guest on January-08-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language