Modal java script code example Example 1: open modal js $('#modal-name').modal('show'); Example 2: modal html Open modal for @mdo Open modal for @fat Open modal for @getbootstrap New message × Recipient: Message: