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.
<xsl:apply-templates select="Data/DataRow" />
I also do not want to hide all the <td> only certain columns with certain id's.
I have tried the below with no luck.
cells2 = table.getElementsByTagName('td').getElementById('colid');
Please help I am tearing my hair out here!!