I know very basic html and very little javascript. I'm hoping someone can write a code i can cut and past and update a few things. We're currently using Tridion for our intranet. I have to use a code block component for javascript to allow me to export the HTML table to excel. The issue is it will only export on table to excel and there are several tables on the page. all the tables are formatted the same. Is there is JavaScript that can combine all the tables into one excel spreadsheet?
This is the HTML tables I'm using.
Contact 1
Contact 2
Contact 3
Contact 4
Ted
Sam
Sally
John
Contact 1
Contact 2
Contact 3
Contact 4
Bird
Cat
Dog
Bunny
Contact 1
Contact 2
Contact 3
Contact 4
Star
Sun
Moon
Cloud
This is the current Javascript that I'm using, but it is only pulling in one table.