$("td").className='';
Trying to do something like this where it makes all the <TD>
elements the requested css class. I don't even know if thats the proper way to do it.
$("td").className='';
Trying to do something like this where it makes all the <TD>
elements the requested css class. I don't even know if thats the proper way to do it.
You want to use addClass()
:
$('td').addClass('yourClassName');
Or you can use attr()
.
$('td').attr('class', 'className');