I load a dynamic bootstrap modal and it contains few text inputs. The issue i face that i want the cursor to focus on the first input in this modal, and this is not happenin
Due to how HTML5 defines its semantics, the autofocus HTML attribute
has no effect in Bootstrap modals. To achieve the same effect, use
some custom JavaScript.
E.g:
$('#idOfMyModal').on('shown.bs.modal', function () {
$('input:first').trigger('focus')
});