Answer the question
In order to leave comments, you need to log in
Own reset button for each input, how do they do it?
Hello everyone,
Today I walked around Yandex and noticed on the right in the search line, a button to reset the entered text.
Then I looked at the exchange rate. And I saw the same reset buttons, but in each field.
In this connection, the question is, how does Yandex do it, resetting the text separately for each input?
Answer the question
In order to leave comments, you need to log in
The simplest is a normal div offset over input with click event handling via JS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question