I need to add css to the first column of the the table, all but in the first row.
Can I do something like: $(“.myTbl tr td:not(:nth-child(1))”).css(…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
More like:
That is, the first td in each row which is not the first row in a table but only in tables with the class
myTbl. You may want to also specify whether you’re considering header rows as distinct from body rows. If you have them separated into header/body sections and only want the body rows you can get that with.Note: I’m not addressing nested tables with this. If you have nested tables you’ll probably want to be more explicit, using direct children rather than ancestor/descendant relationships.