On Page\_Load, I use CssClass to change the classes of TableCells in C#. Then I use Javascript to change the classes of the corresponding elements. This doesn't change the value of CssClass for the TableCells though.

How can I get the new Classes in C# after changing them with javascript?