Export multiple html tables in single file excel using Javascript

Hi guys, I am back with this new article on how to export multiple HTML tables in multiple excel sheets using Javascript. It’s pretty easy. So let’s start to make it : my tables look like : <table id=”1″> <tr> <th>sample</th> <th>sample</th> <th>sample</th> </tr> <tr> <td>sample</td> <td>sample</td> <td>sample</td> </tr> </table> <table id=”2″> <tr> <th>sample</th> <th>sample</th> <th>sample</th>…