Ayesha Fathima

Ayesha Fathima

  • NA
  • 184
  • 29.8k

Concat two lists elements and make into separate list.

Feb 5 2018 12:15 PM
Hi there,
 
Iam getting dynamic values from webservice,i am forming into lists like 
var a=[a,b,c];
var b=[1,2,3];
 i need to form output like var c=[[a,1],[b,2],[c,3]];By using javascript or jquery, because i need to use these values somewhere.
 
Please help me to do this,when iam tryin this it is adding all values and making into one list.

Answers (4)