when modal is trigger in jquery code example Example: trigger modal from jquery $('#myModal').modal('show');