We have a problem when, when opening a modal window, we try to set focus on the first input element in a modal font that does not hide the type. here is what we are trying:
$("#test-overlay input[type!=hidden]:first").focus();
However, this call works:
$("#test-overlay #loginInput").focus();
The input field has the loginInput identifier.
Any thoughts?
Nunuj source
share