jQuery provides a way to filter selections based on certain characteristics like even or add. To find every even row of a table, the selector looks like this: $('tr:even') Let’s say If the table has id 'users' then you can do like this: $('#users tr:even') Similarly :odd selects every odd row. $('#users tr:odd’)