how to click and copy in html button using javascript code example Example: jquery copy to clipboard document.execCommand("copy");