export html to excel code example
Example 1: export html table to excel
<script src="saveAsExcel.js"></script>
Example 2: export html table to excel
saveAsExcel('tableselector', 'table.xls')
<script src="saveAsExcel.js"></script>
saveAsExcel('tableselector', 'table.xls')