Hello every one ππββοΈ
I would to share some experience about different behavior position cursor of input when use function focus().
if value for input element is set across attribute, then when function focus() is called then cursor will set in start.
if value for input element is set across property of value, then when function focus() is called then cursor will set in end of input.
here you could try this example https://jsfiddle.net/g1nfcv98/
Top comments (0)