show bootstrap modal vanilla javascript code example
Example 1: programmatically show modal boostrap
$('#myModal').modal('show');
Example 2: open bootstrap modal with javascript
$("#myModal").modal()
$('#myModal').modal('show');
$("#myModal").modal()