On Sun, Dec 6, 2009 at 9:19 PM, Joshua Partogi <joshua.part...@gmail.com>wrote:

> On Dec 7, 12:36 pm, "evanbu...@gmail.com" <evanbu...@gmail.com> wrote:
> > I like to use the addClass method rather than embed CSS in my js
> > code.  I find it easier to maintain.
> >
> > $('td').addClass('myCSSClass');
> >
> > $('td').removeClass('myCSSClass');
>
> Hi Evan,
>
> I'd prefer that approach too. But the problem is this css attribute
> value is stored in the database. I can not find the doc on how to add
> an extra css attribute to a css class.
>

See http://flesler.blogspot.com/2007/11/jqueryrule.html

- Richard

Reply via email to