結果 : javascript get caret position in input