The endOffset is equal to the startOffset plus one because only one node is selected. When selectNodeContents() is called, startContainer, endContainer, and ...
確定! 回上一頁