Clipboard Copy with JavaScript
Possible Duplicate:
How to Copy to Clipboard in JavaScript?
I want that when my users clicks on a link who is near to a text box, the content of the text box gets copied to the clipboard. How can I do this?
You can't normally do this in JavaScript for security restrictions. There are a few excellent cross browser ways to perform this.
请参阅http://code.google.com/p/zeroclipboard/
链接地址: http://www.djcxy.com/p/19720.html上一篇: 将div的内容复制到剪贴板
下一篇: 用JavaScript剪贴板复制