How to loop through array in jQuery?

I am trying to loop through an array. I have the following code:

 var currnt_image_list="21,32,234,223";
 var substr = currnt_image_list.split(','); // array here

Am trying to get all the data out of the array. Can some one lead me in the right path please?

12 Answers
12

Leave a Comment