Archive for the ‘document.execCommand’ Category

Roll Your Own Copy to Clipboard Feature in 20 Lines of JavaScript

Posted on: No Comments
Using the OS clipboard is a basic IT skill. As a developer, you've learned that tab, Ctrl/Cmd+A, Ctrl/Cmd+C followed by Ctrl/Cmd+V will highlight, copy and paste in an instant. Life is less easy for regular users. Even if a user knows what the clipboar...