結果 : get cursor position in input javascript