Using Javascript to Export Multiple HTML Tables into single Excel file (xls)
问题 I'm trying to export multiple html table into single file excel (xls) It should be like this Thanks Credit : How do I export multiple html tables to excel? The HTML Code <html> <head> <title>JS to Excel</title> </head> <body> <table id="1"> <tr><td>Hi</td></tr> <tr><td>Hey</td></tr> <tr><td>Hello</td></tr> </table> <table id="2"> <tr><td>Night</td></tr> <tr><td>Evening</td></tr> <tr><td>Nite</td></tr> </table> <a id="dlink" style="display:none;"></a> <input type="button" onclick=