jsp实现html表格导出和导入excel功能,JavaScript将Table导出到Excel实现思路及代码
function copyToExcel(tableid) {//控制按钮var btn = document.getElementById("copy");btn.setAttribute("disabled", "true");btn.setAttribute("value", "处理中...");var curTbl = document.getElementById(tableid);tr