Hi,
I need to compare these two array with both col1 and col2 value if value matched then i need to show alert to the user as value matched if not alert should be as not matched. Note:Need to compare both the column(col1,col2) with second array(col1,col2).
array1:
0:{col1:"a",col2:"Chennai"}
1:{col1:"b",col2:"Chennai"}
2:{col1:"c",col2:"Chennai"}
3:col1:"a",col2:"Madurai"}
4:{col1:"a",col2:"Trichy"}
5:{col1:"b",col2:"Madurai"}
6:{col1:"C",col2:"Salem"}
array2: 0:{col1:"a",col2:"Chennai"}


Nagarajan Elumalai199 reputationPosted Sep 24, 2019, 5:25 AM EDT
Priyanka JainRank #356 · 7K reputationPosted Sep 24, 2019, 5:09 AM EDT
Salman BegRank #284 · 8.8K reputationPosted Sep 24, 2019, 5:11 AM EDT
Nagarajan Elumalai199 reputationPosted Sep 24, 2019, 5:26 AM EDT