getRangeAt(0); var content = range.cloneContents(); 執行此程式碼後, content 將是一個文件片段,其中包含所選DOM節點的副本。請注意,事件監聽器將不會被克隆。
確定! 回上一頁