I wrote the function using js+jQuery.
Here is a link to a jsFiddle which shows my problem: http://jsfiddle.net/anarnold/LpBaW/
The goal of this function is to scan a table and check for rows that have certain field (td) values matching. Rows then get assigned a class denoting whether or not they are unique, and the number of matching rows are printed into the final field (td) of each row.
It basically uses a nested loop of this structure:
For each row... scan the whole table for matches..
The way I identify rows is to concatenate the field (td) texts from each row into a rowid attribute on the final field (td) for each row.
The current funciton works fine, but it gets very slow with large tables ~2000 rows.
There must be a more efficient and elegant way to accomplish this. Any help would be greatly appreciated!