Example 2D array: var arr = [ [“Mike”, “Cane”, 23], [“Jeff”, “Meyers”, 46], [“Thomas”, “Bush”, 67] ] How do I copy a 2D array to the clipboard to then paste it in an excel spreadsheet? The …
Tag: clipboard
Copy current URL to clipboard
Not sure why this has been so difficult for me today, but for some reason I cannot seem to get it to copy the current URL to the clipboard. Overall, I’m looking for a way to do it without needing to …
How can I copy rich text contents to the clipboard with JavaScript?
Premise I need help copying rich text to the clipboard using JavaScript. I have searched around and haven’t found anything to suit my specific needs. Code Problem The aforementioned code isn’t working and is resulting in an object expected error. Any help is appreciated! I have seen a library out there called zeroclipboard, but would prefer to write my own
Copy text to clipboard from bookmarklet
I’m trying to write a little bookmarklet that can extract some text from the active page and load that into the clipboard. The extraction is easy enough, but I’m really stuck doing the clipboard-…