copy link to clipboard js code example Example: jquery copy to clipboard document.execCommand("copy");