JavaScript - - By Sam Deering

jQuery convert array to string

A jQuery code snippet to convert an array to a string.

var blkstr = $.map(value, function(val,index) {
     var str = index + ":" + val;
     return str;
}).join(", ");
Sponsors