How to close bootstrap modal popup using jquery

0

Here I will explain how to use jQuery to hide bootstrap modal popup on button click with example or jQuery close bootstrap modal popup on button click. You may also like Simple Bootstrap Modal and How to prevent Bootstrap modal from closing when clicking outside.

Code

$('#myModal').delegate('#CloseModel','click',function(){
    $('#myModal').modal('hide');
});