javascript - Export page content as excel table
淡淡烟草味
淡淡烟草味 2017-05-19 10:21:58
0
2
663


There is an export button on the page. Click the export button to export the table in the page content to an excel table. How to achieve this? Please give me some advice

淡淡烟草味
淡淡烟草味

reply all(2)
曾经蜡笔没有小新

Node can read and write files. If you are not a node and only have js, you can try js-xlsx (https://github.com/SheetJS/js...). I just made a function to import and export excel, and I used this. The reference website is: http://www.jianshu.com/p/74d4... .

PHPzhong

Export to csv file, export the json of the page to csv and then use it directly in excel. json2csv

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template