I am trying to export an HTML table to Excel using javascript. This is the javascript code
Use the code below in the var uri:
var uri = 'data:application/vnd.ms-excel;charset=UTF-8;base64,'
Output