The position of the cursor in inpute gets lost, what should I do?

  • 0
    Hello everyone, actually there is a problem.

    It is necessary to make the text disappear on the first click, and remain on the next. There are about 10 identical inputs per page. And the second moment, the most difficult. I tried to do something, but there is a gap. that when focusing, the cursor rises to the right place, then you enter the letter, he puts it where it is necessary, but after that the cursor flies to the end of the line !!! but the natural behavior of the input is necessary, but taking into account the separators !!! What to do!!! There is a feeling that I started to reinvent the wheel, maybe there is some simple solution to my problem ?! That I'm so much d * coded)))

    https://jsfiddle.net/gm8tuw16/
    JavaScript Anonymous, Dec 6, 2019

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!