jQuery:将表格导出到excel时如何在文件上添加名称
我有一个将表格导出到excel的代码。它很好用。所以我的问题是下载时如何更改文件名jQuery:将表格导出到excel时如何在文件上添加名称,jquery,excel,Jquery,Excel,我有一个将表格导出到excel的代码。它很好用。所以我的问题是下载时如何更改文件名 $(“#导出”)。单击(函数(){ open('data:application/vnd.ms excel,'+encodeURIComponent($('#toexcel').html()); }); 测试1 测试2 测试3 测试1 测试2 测试3 测试1 测试2 测试3 $(“#导出”)。单击(函数(){ open('data:application/vnd.ms excel,'+encodeURICo
$(“#导出”)。单击(函数(){
open('data:application/vnd.ms excel,'+encodeURIComponent($('#toexcel').html());
});
测试1
测试2
测试3
测试1
测试2
测试3
测试1
测试2
测试3
$(“#导出”)。单击(函数(){
open('data:application/vnd.ms excel,'+encodeURIComponent($('#toexcel').html());
});代码>
测试1
测试2
测试3
测试1
测试2
测试3
测试1
测试2
测试3
$(“#导出”)。单击(函数(){
open('data:application/vnd.ms excel,'+encodeURIComponent($('#toexcel').html());
});代码>
测试1
测试2
测试3
测试1
测试2
测试3
测试1
测试2
测试3
任何版本的Safari或Internet Explorer(或Edge)均不支持[2015年6月]任何版本的Safari或Internet Explorer(或Edge)均不支持[2015年6月]