copy contents of div to clipboard

Possible Duplicate:
How to Copy to Clipboard in JavaScript?

Is there a way to copy the contents of a div into a clipboard using javascript/jquery without using an external plugin?


Basically you can but only for IE, to do for all browsers you need Flash

PS the best solution is http://code.google.com/p/zeroclipboard/ and not the answer in the question that a couple of people have linked to already

链接地址: http://www.djcxy.com/p/19722.html

上一篇: 如何将textarea的内容复制到剪贴板?

下一篇: 将div的内容复制到剪贴板