Answers for "focus input field in modal"

0

focus input field in modal

$('#myModal').on('shown.bs.modal', function () {
    ...
    setTimeout(function (){
        $('#textareaID').focus();
    }, 1000);

})
Posted by: Guest on June-09-2021

Code answers related to "focus input field in modal"

Browse Popular Code Answers by Language