jquery 导出excel
时间: 2023-07-14 07:10:58
浏览: 191
你可以使用 jQuery [插件]([http]([http]([http](https://geek.csdn.net/educolumn/68f28ca3131d47699e5902c5d3d74d51?spm=1055.2569.3001.10083)s://geek.csdn.net/educolumn/68f28ca3131d47699e5902c5d3d74d51?spm=1055.2569.3001.10083)s://geek.csdn.net/educolumn/68f28ca3131d47699e5902c5d3d74d51?spm=1055.2569.3001.10083)s://geek.csdn.net/educolumn/245b0d2e7d461013e49fcfb80f940dbd?spm=1055.2569.3001.10083) jQuery-Table-Export 来导出 Excel。首先,你需要在你的页面中引入以下文件:
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.0/FileSaver.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.8/xlsx.core.min.js"></script>
<script src="https://cdn.[raw](https://geek.csdn.net/educolumn/61e31fceefc94edcbbed7f53fd269b6c?spm=1055.2569.3001.10083)git.com/rainabba/jquery-table2excel/1.1.0/dist/jquery.table2excel.min.js"></script>
```