I\'m trying to create a comma separated list from what is checked on the form.
var $StateIDs = $(\':checked\'); var StateIDs = \'\'; for (i=0, j = $StateIDs.leng
Check the second answer here. It gives you nicely simplified code for exactly what you're doing.