C
C
Canis_Lupus2020-05-29 16:16:02
JavaScript
Canis_Lupus, 2020-05-29 16:16:02

How to autofocus a field in a modal using JS?

There is a code - https://codepen.io/JacobLett/full/WwggPj
when you click on the search icon, you need the search field to be in focus. Tried in different ways, but something nikik (((

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2020-05-29
@HistoryART

Well, of course you didn't see it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question