for loop and appending the set of result to div
<p>I want to append every 3 records to one div in a for loop. numberList is dynamic so we are not sure of the exact length. requirement is that pick 3 records and wrap it in div. 
For example if numberList.length is 7 then we should have 3 divs. first 2 div will contain 3 records and last div will have one record.</p>

<p>How to go about this?</p>

<pre><code>for (var j = 0; j &lt; numberList.length; j++) {
number = numberList[j].Number;
}
</code></pre>

<p>after every 3 records, take the result and append in one div</p>
