I have a jquery collection $(“#Users”) which contains a string with names:
'Bob Beffer, Eddie Queen'
I would like to match this to another (gridrow)collection:
string[] rowObject
say rowObject[1] contains names how can I match/find the names in the rowObject array when i loop though the array? I tried:
if ($("#Users").val().find(rowObject[1]) != null) {
..etc
Try the following:
filteredNameswill then just containBob BeffersinceEddie Queendoes not exist inrowObject.