On Sun, Dec 6, 2009 at 9:19 PM, Joshua Partogi wrote:
> On Dec 7, 12:36 pm, "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');
On Dec 7, 12:36 pm, "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
I like to use CSS classes in an external stylesheet and then use the
addClass method. I find the maintenance much easier this way.
$('td').addClass('myCSSClass');
to remove the CSS Class
$('td').removeClass('myCSSClass')
On Dec 6, 6:09 pm, Joshua Partogi wrote:
> Hi all,
>
> What is the cl
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');
On Dec 6, 6:09 pm, Joshua Partogi wrote:
> Hi all,
>
> What is the cleanest approach to remove a css attribute from the DOM el
4 matches
Mail list logo