using jquery addclass to add css to table. For some reason the row color doesn't change. I tried putting the jquery code (minus the click) in the DoNav function which just starts a video when you click on the row. Note that. highlighttd won't suffice since. highlighttd (one class, one tag) is less specific than table. pretty tbody td jquery add css class to td Oct 01, 2013 Hi, I have a tab control (consists of tr and td )in which i have different tabs. When i click on each of the tab i. e. td, it shows me a div tag which has its own data.
In my table, the tdElements contain sometimes a textarea, sometimes an input. With a click on a td, I add the class 'active' to the element. Add Class to active cell (function() var ta jquery add css class to td