open modal with simple javascript code example Example: open modal js $('#modal-name').modal('show');