I am building a table of data and this data is combined data from two SharePoint lists.
At the end I applied the code below to remove the duplicate rows, but it is not doing the job. Any alternative code I can use?
var seen = {};$('table tr').each(function() {
var txt = $(this).text();
if (seen[txt])
$(this).remove();
else
seen[txt] = true;
});
faye fouladi