Answers for "how to show bootstrap modal"

4

javascript modal close

$('#closemodal').click(function() {
    $('#modalwindow').modal('hide');
});
Posted by: Guest on March-08-2020
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
4

open bootstrap modal with javascript

$("#myModal").modal()
Posted by: Guest on July-21-2020

Browse Popular Code Answers by Language