I'm attempting to loop through a "value" list and convert it to a string. The code is as follows:
var blkstr = $.each(value, function(idx2,val2) {
var str = idx2 + ":" + val2;
alert(str);
return str;
}).get().join(", ");
The alert() method works perfectly and displays the correct value.
However, jquery's.get() function fails because it does not return the correct kind of object.
What am I doing incorrectly?