views:

1131

answers:

1

I need to loop through all table elements, somewhere keeping an index and then loop through all elements inside those tables. Idea is to add information into database about elements inside tables together with their table index.

+2  A: 
$('table').each(function(index) {
    $(this).find('*').each(function() {
        /* do magic */
    });
});
reko_t