showing results for - "how contvert array to string like implode in jquery"
Michele
19 Sep 2017
1var value = { "aaa": "111", "bbb": "222", "ccc": "333" };
2var blkstr = [];
3$.each(value, function(idx2,val2) {                    
4  var str = idx2 + ":" + val2;
5  blkstr.push(str);
6});
7console.log(blkstr.join(", "));
similar questions