Part 2: Part 1: Part 1:
???? Copy text to the clipboard in IE, Microsoft uses two clipboard modes: character mode and HTML mode. • If we select some content from IE to write to the writing board, the HTML tag is usually lost. If you want to get HTML tag information, you can use the following code to solve this problem: (Principles here) ??? JavaScript file code name: ??? Only two sentences:? // Get the HTML format of the right-click on the upper orientation menu? VAR SELECTEDHTML = (External.Menuarguments.Document.selection.createrange ()). htmltext;? // ?? Insert the above-mentioned data IF (SETERNUARGUMENTS.CLIPBOARDDATA.MENUARGUMENTS.CLIPBOARDDATA.SETDATA ( "Text", selectedHtml);?? ???