Bootstrap Modal Fade

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