bootstrap modal-fado

$('#myModal').on('shown.bs.modal', function () {
  $('#myInput').trigger('focus')
})
Jerome Choo