modal dialogs bootstrap code example
Example 1: bootstrap modal
Example 2: bootstrap modal
$('#myModal').on('shown.bs.modal', function () {
$('#myInput').trigger('focus')
})
$('#myModal').on('shown.bs.modal', function () {
$('#myInput').trigger('focus')
})