I am looking for a non-plugin "copy to clipboard" function written in jQuery or JavaScript.
Basically, I just want to click on an a link and pop the HREF value into the clipboard.
Is that possible with jQuery / JavaScript?
I am looking for a non-plugin "copy to clipboard" function written in jQuery or JavaScript.
Basically, I just want to click on an a link and pop the HREF value into the clipboard.
Is that possible with jQuery / JavaScript?
it is possible with : http://code.google.com/p/zeroclipboard/
its from google and its via flash and js
pretty simple implementation
That is not possible with straight up javascript (in most broswers)
You might need some flash backend to do the copying.
it's not possible due to browser's restrictions, for security reasons I believe.
I ended up using zeroClipboard, a light and practical flash plugin.