If I wanted to find all <td> in the 4th column of a table and add the class
.txt_right to them, would I do something like this:

$('table td:nth-child(3)').addClass('txt_right');

it doesn't seem to be working, so I must have something wrong

thanks!


-- 
View this message in context: 
http://www.nabble.com/addClass-to-4th-column-tf3365987.html#a9365388
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to