bootstrap modal opened code example
Example 1: open bootstrap modal with javascript
$("#myModal").modal()
Example 2: how to show bootstrap modal
<script>
var myModal = new bootstrap.Modal(document.getElementById('ModalID'))
myModal.show()
</script>