removeAllRanges (); // 將選取到內容放入selection物件中selection.addRange(range); // 執行複製document.execCommand('copy'); // 清除selection.
確定! 回上一頁