0
  1. When page is refreshed, it generate the prompt message that text is copyed, but when trying to paste it via ctrl+v it returns nothing

    <html>
    <head>
    <script>
    var clip = new ZeroClipboard(document.getElementById('my-button'));
    </script><br>
    </head>
    <body>
    <button id="my-button" data-clipboard-text="Copy me!">Copy to clip</button>
    <script>
    alert("copyed");
    </script>
    </body>
    

mithun
  • 1
  • 3

0 Answers0