D
D
Dubrovin2018-02-24 15:44:46
JavaScript
Dubrovin, 2018-02-24 15:44:46

How to correctly handle Enter after typing in the Input field?

It is necessary to make it so that when the input text field is in focus, when you press Enter, the input cursor starts blinking, after entering text and pressing Enter, the cursor in the input field should stop blinking, but the field must remain in focus, so that you can through Tab select adjacent elements or press Enter again and correct the entered value. How is this implemented in JS?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
twobomb, 2018-02-24
@Dubrovin

Well , you can

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question