38
rated 0 times
[
42]
[
4]
/ answers: 1 / hits: 73321
/ 13 Years ago, sat, august 27, 2011, 12:00:00
Possible Duplicate:
Copy selected text to the clipboard WITHOUT using flash - must be cross-browser
This one has kept me going for a long time. How would I copy text to the clipboard? Here is my code:
<body>
<textarea name=text rows=5 cols=20 wrap=hard onblur=CopyToClipboard()>Enter text here and it will be copied to the clipboard!</textarea>
</body>
<script type=text/javascript>
function CopyToClipboard() {
//O_O Confused... what do I do...
}
</script>
More From » clipboard