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(),
- })
- });
- var isRequiredList=[];
- $('.lblisrequire').each(function(i)
- {
- isRequiredList.push({
- Id:$(this).attr('id')
- });
- });
matched element store in another arraylist.
Sreekanth ReddyRank #726 · 3.2K reputationPosted Nov 26, 2018, 10:30 PM EST
Kalyani ShevaleRank #1,111 · 1.7K reputationPosted Nov 27, 2018, 1:00 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts