jquery visible rows in a table selection


I have a table with an id tblHitParade. This tblHitParade with three columns have filter capabilities, then after the table is filtered i need to run a loop only on the visible (filtered) rows, and display an alert box for each of the filtered result of the first column, any idea?
Who is Participating?
leakim971Connect With a Mentor PluritechnicianCommented:
try this :

$("#tblHitParade tr:visible").each(function() {
     var column1 = $("td:eq(0)", this);
     alert( column1.text() );

Open in new window

If that don't work please post a link to see your page or the HTML of the table
joyacv2Author Commented:
works perfect!!!!!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.