Yngvarr

Generation

generate functionMon, 20 Feb 2023

copy text

function copyText() { var copyText = document.getElementById("copyText"); copyText.select(); document.execCommand("copy"); alert("Copied your text: " + copyText.value); }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant