JQUERY load an array of elements into a DIV
<p>I have an array of DIV elements in an array called 'noactiveMsg'.
I want to load these DIV elements into a DIV called <code>$('#chatCenterMembers')</code>.</p>

<p>I've tried:</p>

<pre><code>noactiveMsg.appendTo($('#chatCenterMembers'));
</code></pre>

<p>But this doesn't work.
Can someone advice on the syntax to load an array of elements/objects into a div?</p>

<p>code to made the array:</p>

<pre><code>var noactiveMsg=[];
 $('div.chatmember').each(function() {                        
 if($(this).children().children('div').hasClass('chatactivestatus_offline')) {
 alert('offline');
 noactiveMsg.push($(this));
 }              
 });
</code></pre>
