Copy and Paste to clipboard
Well I had the requirement to copy the content of a textarea into the clipboard. There are two ways to do that:
-
Build a dynamic action with custom Javascript code:
Copy Text to ClipboardCode example - with dynamic action on
Click
andExecute Javascript Code
:1 2
/* Select the text field */ $('#P1_APEX_ITEM').select();
1 2
/* Copy the text inside the text field */ document.execCommand("copy");
-
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 ↩