Well I had the requirement to copy the content of a textarea into the clipboard. There are two ways to do that:
1. Build a dynamic action with custom Javascript code:
Copy Text to Clipboard
Code example - with dynamic action on "Click" and "Execute Javascript Code":
/* Select the text field */
$('#P1_APEX_ITEM').select();
/* Copy the text inside the text field */
document.execCommand("copy");
2. Use an APEX plugin:
Copy to Clipboard (v1.1) - build by Dick Dral
Icons made by Vitaly Gorbachev from www.flaticon.com is licensed by CC 3.0 BY
1. Build a dynamic action with custom Javascript code:
Copy Text to Clipboard
Code example - with dynamic action on "Click" and "Execute Javascript Code":
/* Select the text field */
$('#P1_APEX_ITEM').select();
/* Copy the text inside the text field */
document.execCommand("copy");
2. Use an APEX plugin:
Copy to Clipboard (v1.1) - build by Dick Dral
Icons made by Vitaly Gorbachev from www.flaticon.com is licensed by CC 3.0 BY