Filter table row according to TR class

I have a HTML table with a set of rows. The table rows have each groups of classes.
How do I display only a specific group.

For example…in the table layout below. How do I only display the rows with class= “page1” ?

<table>
<tr class="lesson-rows page1">...............................</tr>
<tr class="lesson-rows page1">...............................</tr>
<tr class="lesson-rows page1">...............................</tr>

<tr class="lesson-rows page2">...............................</tr>
<tr class="lesson-rows page2">...............................</tr>
<tr class="lesson-rows page2">...............................</tr>

<tr class="lesson-rows page3">...............................</tr>
<tr class="lesson-rows page3">...............................</tr> 
<tr class="lesson-rows page3">...............................</tr>
</table>

You can use either of the following.

Hi there henk3,

would a CSS method be of interest?

coothead

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.