how do I copy selected text automatically by using Javascript?
For example, when I highlighted a word (by double-clicking it) in a page, and that word is being automatically copied into clipboard.
Is there a way to do this?
how do I copy selected text automatically by using Javascript?
For example, when I highlighted a word (by double-clicking it) in a page, and that word is being automatically copied into clipboard.
Is there a way to do this?
This is what you want to use: https://code.google.com/p/liveclipboard-jquery
some versions of ie can do this natively.