bootstrap js show modal code example
Example 1: close bootstrap modal with javascript
$('#myModal').modal('hide');
Example 2: bootstrap modal
Example 3: bootstrap 4 modal
Example 4: html data-target modal
$('#myModal').modal('show')
Example 5: bootstrap modals