label here is values
button here
javascript code here
var clipboard = new Clipboard('.btn');
clipboard.on('success', function (e) {
console.log(e);
});
clipboard.on('error', function (e) {
console.log(e);
});
Clipboard copy javascript all browsers but my code not work
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Vinay SinghRank #604 · 4K reputationPosted Jul 14, 2016, 1:52 AM EDT
Prakash Kumar6 reputationPosted Jul 13, 2016, 11:12 PM EDT
Prakash Kumar6 reputationPosted Jul 14, 2016, 2:26 AM EDT