I have HTML tables with data. There are some columns which are hidden, based on report generation.
I am generating an Excel file from these table. For generating the Excel file, I have to provide the innerHTML data to the Excel function. The issue is that, innerHTML data contains hidden tags as well.
This results in Excel file showing the hidden column data. Is there a way I can remove the hidden tags' data?
element type='hidden'elements.