jquery modal hide in success code example
Example 1: hide bootstrap modal jquery
$(document).ready(function(){
$(".btn").click(function(){
$("#myModal").modal('hide');
});
});
Example 2: modal show not close jquery
jQuery('#modal_ajax').modal('show', {backdrop: 'static', keyboard: false});