jquery show boostrap modal code example
Example 1: programmatically show modal boostrap
$('#myModal').modal('show');
Example 2: how to show bootstrap modal
<script>
var myModal = new bootstrap.Modal(document.getElementById('ModalID'))
myModal.show()
</script>