The table I am working with is loaded at runtime via ajax, I am trying to loop through all the rows in the table, using the code below:
alert("here"+jQuery('#contentItems table.tablesorter table tbody tr')); //I get here[Object object]
jQuery('#contentItems table.tablesorter table tbody tr').each(function(){
alert("test");
});
I get the first alert, but no alerts for test.
Oh and this code is running from the document’s mouseup event.
Any suggetions?
It looks like you probably have an extra table tag in your selectors.
This:
Might need to be: