getSelection(); var range = document.createRange(); range.selectNodeContents(obj); s.removeAllRanges(); // ←追加 s.
確定! 回上一頁