Hi all,

I'm a little stuck.  I have two tables.  One has several rows of data
with multiple columns.  The other is empty.  What I'm trying to do is
"filter out" rows from the main table and place them into the "trash
can" table based on the values of different table cells.

As an example.  The main table's second column has a date.  I want to
move any row who's second column data doesn't match the submitted
filter date.

I've got the following code to iterate through each table row...

$('li#data-main tbody tr').each(function(){
        [...]
});

However, I'm not sure how to access a specific column of that row, to
get the HTML value and compare it to the entered value.  In this case,
I want to check the second column and do some function on the HTML
value to compare the date.

Then, if the dates don't match, I'll move the current row to a
different tables tbody.

Any suggestions?

Cheers!
John

Reply via email to