title: Collect css from class into array, give to another class using jQuery
body: <p>I have two sets of elements, both with the same number of elements. I'm wondering how do I collect the width from the first set (width is variable) and then give it to the second set in the same order it was collected.</p>
  
  <pre><code>&lt;div class="a"&gt;This element might have a width of 100px&lt;/div&gt;
  &lt;div class="a"&gt;..while this one might be 50px&lt;/div&gt;
  &lt;div class="a"&gt;..and this one is maybe 75px&lt;/div&gt;
  </code></pre>
  
  <p>Collect into an array [100,50,75] and then pass it to another set of elements.</p>
  
  <pre><code>&lt;div class="b"&gt;give me the 100px width&lt;/div&gt;
  &lt;div class="b"&gt;and me the 50px width&lt;/div&gt;
  &lt;div class="b"&gt;and me the 75px width&lt;/div&gt;
  </code></pre>