open modal window on website javascript code example Example: open modal js $('#modal-name').modal('show');