By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,118 Members | 1,134 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,118 IT Pros & Developers. It's quick & easy.

How to Copy a Text to Clipboard

P: 24
Dear All,

Would you please tell me how to copy a text to clip board using JQuery?
What I want is something like the code toolbar in the following URL
I try to find it in internet but it is all complex code and I am unable to understand it, so if you can give me a simple example I will appreciate that.

Thanks in advance
Jun 30 '13 #1
Share this Question
Share on Google+
5 Replies

Expert 100+
P: 1,035
less than 5 minutes of Google, and I found:

Did YOU try to search for it?
Jun 30 '13 #2

P: 24
Thanks Luuk
By sure I try to search for it, and by sure I reached to this page, but I am unable to understand how it is done, and also I am unable to insert it in my page, and that's why I ask for simple example.
Jul 2 '13 #3

Expert 100+
P: 1,035
I never actually tried the software that is published on that link.
When i need something copied, i select it, right mouse-click and copy it...

If you need a simple please search on
Or, you could try to learn, and understand this solution that is posted on the link i gave you ;)
Jul 2 '13 #4

P: 24
Thanks Luuk.
Anyone has any other suggestion please?
Jul 3 '13 #5

P: 2
The ZeroClipboard library provides an easy way to copy text to the clipboard.
Oct 3 '15 #6

Post your reply

Sign in to post your reply or Sign up for a free account.