Ok I know I need to set a value to each one of my corresponding copy to clipboard items but I am looking for the starting information on how to do this.
I am using a generic copy to clipboard function. What do I do to build my 12 options into this so when I click the corresponding copy note button it sends that note to the clipboard.
function ClipBoard()
{
holdtext.innerText = copytext.innerText;
Copied = holdtext.createTextRange();
Copied.execCommand("Copy");
}
I am using a generic copy to clipboard function. What do I do to build my 12 options into this so when I click the corresponding copy note button it sends that note to the clipboard.
function ClipBoard()
{
holdtext.innerText = copytext.innerText;
Copied = holdtext.createTextRange();
Copied.execCommand("Copy");
}