MrGarretto

copy to clipboard js

Dec 25th, 2015
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function CopyToClipboard(text) {
  2.     Copied = text.createTextRange();
  3.     Copied.execCommand("Copy");
  4. }
Advertisement
Add Comment
Please, Sign In to add comment