結果 : get current cursor position javascript