copy contents of div to clipboard [duplicate]
Possible Duplicate:
How to Copy to Clipboard in JavaS开发者_开发问答cript?
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
P.S 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
精彩评论