is it possible to override a css class

Posted by oo on Stack Overflow See other posts from Stack Overflow or by oo
Published on 2010-04-25T17:28:32Z Indexed on 2010/04/25 17:33 UTC
Read the original article Hit count: 212

Filed under:
|

i have the following jquery code to format a html table.

   $(".jtable td").each(function() {
       $(this).addClass("ui-widget-content");
   });

i want (one on table) to change the text color to blue (its black in the ui-widget-content class. i tried doing this below but it didn't seem to do anything.

Any help on override some particular css for one table (and i want to leave the other tables alone)

   $(".jtable td").each(function() {
       $(this).addClass("ui-widget-content");
       $(this).css("color", "Blue");
   });

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css