这个用于将jquery数据表导出到excel的代码不起作用..在检查时抛出无效或意外的令牌错误..请给我正确的解决方案

$(“#excelExport”) . on('click',function(e){e.preventDefault(); window.open('data:application / vnd.ms-excel,'encodeURIComponent($('#dataTables-PhaseTable) “)的.html()));

});​