I want to select:
<tr class='odd-row'>
and
<tr class='even-row'>
at the same time using jquery, is it possible?
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.
You can also do
If you don’t care that it’s a tr.
You don’t have to pre-mark the rows with an odd/even class. You can also do:
And jQuery will figure out which are odd/even on its own.