I working on export html table to excel using JAVASCRIPT . I face issue it not export to excel office New version with extension xlsx .
but it working fine and export to old version office excel with extension xls .
when export from html table to excel new version with xlsx extension it give me error
cannot open file `.xlsx` because file extension is not valid or file corrupted .
so How to solve this issue to working with xlsx extension and open new version excel .
xlsx
code for html and javascript that not export to excel new version xlsx
when debug var table it give me html table script as fiddle below so How to export to excel xlsx New version
var table
html table generated by var table from debug