title: Export HTML table to xlsx
body: <p>I have a table in my HTML. On click of a button I want to export the table into a xlsx file which should be downloaded. </p>
  
  <p>The visible table has 2 table one for the headers and other for the data. I am trying to get a JavaScript code that works for all browsers majorly IE(v7-v11), chrome and Firefox.</p>