Answers for "how to check with jquery if bootstrap modal is hidden or shown"

0

how to check with jquery if bootstrap modal is hidden or shown

$('#myModal').on('shown.bs.modal', function () {
  // will only come inside after the modal is shown
});
Posted by: Guest on March-22-2022
0

how to check with jquery if bootstrap modal is hidden or shown

if (!$('#myModal').is(':visible')) {
    // if modal is not shown/visible then do something
}
Posted by: Guest on March-22-2022

Code answers related to "how to check with jquery if bootstrap modal is hidden or shown"

Code answers related to "Javascript"

Browse Popular Code Answers by Language