bootstrap modal open via javascript code example Example: html data-target modal $('#myModal').modal('show')