ZeroClipboard and zeroclipboard
1. Functions of ZeroClipboard:
With Zero Clipboard, you can easily and quickly copy content to the Clipboard, similar to clicking the "copy" button on some webpages to copy content in the corresponding area.
2. How to Use ZeroClipboard:
<%@ Page language = "java" contentType = "text/html; charset = UTF-8" pageEncoding = "UTF-8" %> <% String basePath = request. getScheme () + ": //" + request. getServerName () + ":" + request. getServerPort () + request. getContextPath () + "/"; %> <! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN"> Note: The code above contains several plug-in files that can be found in resources.
【0 point resource download]
Related Websites:Http://code.ciaoca.com/javascript/zeroclipboard/
If ZeroClipboard in javascript can be copied without clicking the button, you only need to set the so-called another button id to copycardid, that is
The DOM element means that the button's element also matches the settings as long as the id is:
<Div id = copycardid> also copy in the vertex </div>
Note: The whole page can store the same ID. When there is an element idcopycardid, its element id can be set to another copycardid.
For legend private server experts, please go to the website for the next version
Www. sf028. com
Download resources. See the tutorial above.
Try it.