結果 : get input cursor position javascript