Question
Customertimes
LV
Last activity: 17 Feb 2016 10:00 EST
How to move cursor (caret) to beginning of autocomplete field?
Hello!
I have next requirement for autocomplete fields: after choosing a value from list of results, need to see beginning of text in autocomplete field. When the field is filled, cursor (caret) placed at the end of the field. This is the reason, why user can't see beginning of text if value too long.
Is it possible (with inline style possibly) to move cursor to beginning of autocomplete field when value selected? Like setSelectionRange in JQuery?