Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
133
rated 0 times [  135] [ 2]  / answers: 1 / hits: 66877  / 10 Years ago, tue, april 22, 2014, 12:00:00

I know this kind of question has been asked here for many times, including: How do I copy to the clipboard in JavaScript? or How to copy text to the client's clipboard using jQuery?, I'm narrowing the scope:



Condition:




  1. works fine in Google Chrome (would be nice if cross-browser, but not necessary)

  2. with no flash



Is there such a solution or workaround?


More From » jquery

 Answers
11

I just find another amazing repo on Github.




Modern copy to clipboard. No Flash. Just 3kb gzipped



https://github.com/zenorocha/clipboard.js




Browser Support:




[#71361] Saturday, April 19, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
darennevina

Total Points: 422
Total Questions: 128
Total Answers: 105

Location: Comoros
Member since Tue, Mar 14, 2023
1 Year ago
;