close the modal in jquery code example Example: jquery close bootstrap model $('#modal').modal('hide');