JavaScript can easily operate the contents of the client clipboard, but only IE5 or more browser JavaScript can use the Window.ClipboardData object to process the clipboard content Save to the clipboard SETDATA (param1, param2) param1: data type text or url et al. PARAM2. PARAM2 : Data content
Methods of reading data from the clipboard GetData (param1) Cleardata (param1)
Here is an example of