show bootstrap modal window at the bootom code example
Example 1: programmatically show modal boostrap
$('#myModal').modal('show');
Example 2: bootstrap modal show event
$('#code').on('shown.bs.modal', function (e) {
// do something...
})
$('#myModal').modal('show');
$('#code').on('shown.bs.modal', function (e) {
// do something...
})