Surya Kant

Surya Kant

  • 640
  • 1.6k
  • 642.4k

How to achive copy to clipboard functionality in Asp.net MVC

Jun 13 2016 6:20 AM
Hii;
 
I have a button on the top of div and when i clicked on that div i want that div data should copy to clipboard and i paste it inside paint.
All my div created dynamically where I have this copy to clipboard button and each div has unique id.
 I tried using Clipboard.JS which not working.bellow is the link what i tried.
http://webdesign.tutsplus.com/tutorials/copy-to-clipboard-made-easy-with-clipboardjs--cms-25086 
Can any one help me how to achieve this ?

Answers (5)