Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy excel formatted data to clipboard from web

I'm looking to provide a button on my page, that when clicked, would copy (excel formatted) data to the users clipboard and they are able to paste in excel with values separated by columms. Is this possible, maybe jquery? I have a understanding and experience with OOP.

Any help would be great.

like image 571
btaylor507 Avatar asked Oct 22 '22 17:10

btaylor507


1 Answers

It seems to be difficult to find a simple solution in JS which is cross browser (It is simple for IE but not for other browser), so you can take a look at ZerClipboard which is a good solution using Javascript and Flash.

ZeroClipboard

like image 85
MatRt Avatar answered Oct 24 '22 09:10

MatRt