04-24-2018, 02:30 PM
You have to use componente name (in UPPERCASE) plus IWCL directly, try:
Code:
LBL_NUMBERTEXTIWCL.select();
document.execCommand("Copy");
alert("Copied the text: " + LBL_NUMBERTEXTIWCL.value);
return true;