how to close model using method in bootstrap code example Example: jquery close bootstrap model $('#modal').modal('hide');