I\'m looking to find a neat way to create a comma-delimited string from an array. This is how I\'m doing it now...
for(i=0;i<10;i++) { str = str + \',\
you have to use
var joinedstr = myarray.join(',');