$('#button-close').on("click").modal("hide") code example Example: jquery close bootstrap model $('#modal').modal('hide');