I have two ArrayList with their parameter .how to compare each parameter using Jquery.
1st Array List
- var resultQuiz=[];
- $(.'chklist').each(function(i){
- resultQuiz.push({
- Id: Id,
- Message: 'Ranking',
- selectedAnswerOptionID: $(this).attr('id'),
- value: $(this).text(),
-
- })
- });
2nd arrayList- var isRequiredList=[];
- $('.lblisrequire').each(function(i)
- {
-
- isRequiredList.push({
- Id:$(this).attr('id')
- });
- });
how to match each parameter is exist or not in both arraylist using Jquery.
matched element store in another arraylist.