javascript move cursor position input text code example Example: js vanilla set cursor to edit text on click element.focus()