I am using following code to test two table column values. only issue is how to convert .colNameivr values to upper case before matching with itemNames.
jQuery('.colNametns').each(function(i) {
var itemName = jQuery(this).text().toUpperCase(); //1
var match = jQuery('.colNameivr:contains("' + itemName + '")'); //2
if(!match.length){
jQuery(this).toggleClass('red');
counter = i;
}
if(match.length){
alert(i+"--"+itemName );
callme1(itemName);
}
});
example here - http://jsfiddle.net/w7akB/53/
in above example -countryCode should not highlight as string is same.