how to add class in bootstrap modal open code example
Example 1: open bootstrap modal with javascript
$("#myModal").modal()
Example 2: bootstrap modal
$('#myModal').on('shown.bs.modal', function () {
$('#myInput').trigger('focus')
})
$("#myModal").modal()
$('#myModal').on('shown.bs.modal', function () {
$('#myInput').trigger('focus')
})