SyntaxFix
Write A Post
Hire A Developer
Questions
$('#modal').modal('hide'); //hide the modal $('body').removeClass('modal-open'); //modal-open class is added on body so it has to be removed $('.modal-backdrop').remove(); //need to remove div with modal-backdrop class