Is it possible to Improve this Jquery code?
<p>I am currently doing this:</p>

<pre><code>var currFilterList = "";
$('.prod-filters input[type=checkbox]:checked').each(function() { 
currFilterList += $(this).attr('data-groupid')+',';
});
</code></pre>

<p>I was thinking it could be cool to do something like:</p>

<pre><code>var currFilterList = $(blahblah).each(function() { return += value; }
</code></pre>

<p>The other thing I wanted to do was to add an item to an array of JQUERY objects (which needed to be null initially, I tried merge, but doesn't work as its not an array of JQUERY objects, is there a way to do this?</p>

<pre><code>var myArrayOfJqueryObjects = [];
foreach(blah) {
$('.myItem').ADDTO(myArrayOfJqueryObjects );
}
</code></pre>

<p>Thanks alot for any replies :)!!!</p>
