Answers for "close bootstrap modal on button click"

4

close bootstrap modal with javascript

$('#myModal').modal('hide');
Posted by: Guest on April-16-2020
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
1

bootstrap modal prevent close

$('#myModal').modal({backdrop: 'static', keyboard: false})
Posted by: Guest on March-02-2020

Code answers related to "close bootstrap modal on button click"

Browse Popular Code Answers by Language