Programmer's Guide (《编程指南》)
>
Programming and Scripting Techniques
>
Basic Document Manipulation Using the DOM and AOM
> Selecting, Copying, Moving Content
Selecting, Copying, Moving Content
The following examples demonstrate how to copy, cut, and paste content within and between documents.
Cutting and Pasting within a Document
Copying and Pasting within a Document
Copying and Pasting between Documents
Inserting Text at the Caret
Inserting Markup at the Caret
Parent topic
Basic Document Manipulation Using the DOM and AOM
这对您有帮助吗?
此站点在 JavaScript 启用时工作最佳