Generate a class for a div with jQuery
<p>I have a number of DIVs each with an id of 'box'. I want to give each #box DIV a class of either:</p>

<p>= col1
= col2
= col3
= col4</p>

<p>So I need to give each DIV a class of any of the above, ideally distributed evenly (10 x col1, 10 x col2...etc.).</p>

<p>How can I generate the number, attach it to the class string and then assign one to each DIV?</p>
