Jump to content

Bears___

Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Location
    The Internet

Bears___'s Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. It doesnt work, it only copys the last one. i have about 20 of them. <script> function myFunction() { /* Get the text field */ var copyText = document.getElementById("myInput1"); /* Select the text field */ copyText.select(); copyText.setSelectionRange(0, 99999); /* For mobile devices */ /* Copy the text inside the text field */ navigator.clipboard.writeText(copyText.value); /* Alert the copied text */ alert("Copied the text: " + copyText.value); } </script>
×
×
  • Create New...