473,508 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Copy a Text to Clipboard

24 New Member
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
http://www.nicegass.co.kr/2009/07/why-jquery.html
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
5 12542
Luuk
1,047 Recognized Expert Top Contributor
less than 5 minutes of Google, and I found:
http://www.jquery4u.com/plugins/jque...ard-4-options/

Did YOU try to search for it?
Jun 30 '13 #2
hdbbdh
24 New Member
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
Luuk
1,047 Recognized Expert Top Contributor
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
hdbbdh
24 New Member
Thanks Luuk.
Anyone has any other suggestion please?
Jul 3 '13 #5
pka246
2 New Member
The ZeroClipboard library provides an easy way to copy text to the clipboard.

http://zeroclipboard.org/
Oct 3 '15 #6

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

Similar topics

0
2560
by: Meikel | last post by:
I created a ClipboardUtils class which makes it easy to copy Strings or images to the clipboard. I don't claim that it's no way perfect, but has been useful in my applications so far. If you try...
2
3684
by: cv | last post by:
Hi all, How do I copy from clipboard to any control of my page? Any help wud be appreciated. TIA, cv
0
1191
by: DL | last post by:
Can somebody tell met how to copy text from a control item to a textbox by pressing a button. control item is in this case a pdf document. ( don't know if you name it like this but it sounds...
1
2682
by: Manuel | last post by:
hello everyone in my website i use the methods ".execCommand('SelectAll')" and ".execCommand('Copy')" to copy a defined area to the clipboard, that works fine, but now i wanted to make my...
3
2115
by: Jean-Luc ERNST | last post by:
Hello, I apologize for my english, I'm french speaking... Could someone help me to finalize a little project? I'm writing a form for my site but I'don't know many in Javascript (I'm a newbee). ...
3
2131
by: worzel | last post by:
need some simple code to copy text to clipboard in c# - my app has right click > copy to clicpboard feature, which is best way to do this?
2
1523
by: Jay | last post by:
Is there a way to copy text that is always in the same place in a word document, (such as an id number in my case) and then paste it into a text box in another program? I've tried various...
10
3321
by: Sillu | last post by:
I'ld like to create a web page, from which no one can select the text simply, copy frm there n paste at another location. In simple means, i'ld like to stop copy process from my web page. Plz...
0
1398
by: Curious | last post by:
I'm working on fixing the command of "Copy to Clipboard" from a data grid. The current implementation has two problems: 1) There are two extra columns copied to clipboard that are invisible...
1
2123
by: defiler007 | last post by:
Hello! I want to monitor all windows copy to clipboard evets and add the objects that are copied to the clipboard to a list in my application.. how can I do that?
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.