In the following code: var s=window.getSelection(); var sr=s.getRangeAt(0); console.log(s.anchorOffset+" "+s.focusOffset); s.removeAllRanges(); s.
確定! 回上一頁