Answers for "close bootstrap modal on click"

4

close bootstrap modal with javascript

$('#myModal').modal('hide');
Posted by: Guest on April-16-2020
4

open bootstrap modal with javascript

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

bootstrap modal on close

$('#myModal').on('hidden.bs.modal', function () {
    // do something…
});
Posted by: Guest on May-30-2021
1

bootstrap modal not close

  		$('#MymodalPreventScript').modal({
    		backdrop: 'static',
    		keyboard: false
		});
Posted by: Guest on March-10-2020
0

when modal close event

$("yourid").on('hide.bs.modal', function(){
	// do it here
});
Posted by: Guest on January-07-2021

Code answers related to "close bootstrap modal on click"

Browse Popular Code Answers by Language