 the code is for copyfunction. when users click anchor, copyText should be save as clipboard
the code is for copyfunction. when users click anchor, copyText should be save as clipboard
 function myFunc {
    $('#link-button-1608115397633').click(function (e) {
        e.preventDefault();
        var copyText = "LASTCHANCE1";
          document.addEventListener('copy', function(e) {
             e.clipboardData.setData('text/plain', copyText);
              e.preventDefault();
         }, true);
           document.execCommand('copy');  
           alert('복사완료'); 
     })
}; 
    