copy value in button jquery code example Example: jquery copy to clipboard document.execCommand("copy");