Answers for "detect modal when show bootstrap"

0

how to show bootstrap modal

<script>
    var myModal = new bootstrap.Modal(document.getElementById('ModalID'))
    myModal.show()
</script>
Posted by: Guest on December-13-2020
0

how to check if bootstrap modal is open

$('#myModal').is(':visible');
Posted by: Guest on August-06-2021

Browse Popular Code Answers by Language