freddybee
12-25-2002, 10:59 PM
I do have a table with TD like this
<TD id="td1" onclick="CallMe();"><A Class="C1" HREF="...">Text</A></TD>
When the user click on the cell, the onclick is fired and the CallMe function is called ...
I want to change the Class of the anchor in the function ...
I have tried eval(getElementById("td1").children.className="C2") ... with no success
Do you know why and how to achieve my "strange" pb
Thanks in advance and merry xmas..
:thumbsup:
<TD id="td1" onclick="CallMe();"><A Class="C1" HREF="...">Text</A></TD>
When the user click on the cell, the onclick is fired and the CallMe function is called ...
I want to change the Class of the anchor in the function ...
I have tried eval(getElementById("td1").children.className="C2") ... with no success
Do you know why and how to achieve my "strange" pb
Thanks in advance and merry xmas..
:thumbsup: