I have a problem when trying to hide some <td> cells using javascipt.
The problem I have is that my table is being produced by XSLT using <xsl:apply-templates select="Data/DataRow" /> to create the rows. This means that all of the rows have the same ID and therefore I cannot use getElementByID.
I also do not want to hide all the <td> only certain columns with certain id's.Code:<table> <tr> <td> Client Name </td> </tr> <xsl:apply-templates select="Data/DataRow" />
I have tried the below with no luck.
Please help I am tearing my hair out here!!Code:cells2 = table.getElementsByTagName('td').getElementById('colid');