Save each box height and assign it on click
<p>I have a set of boxes and I save each height like that:</p>

<pre><code>$(function(){

     $(".box").each(function(){
         boxSize = $(this).height();
     });
</code></pre>

<p>Then I call it like this:</p>

<pre><code>      button.click(function(){
         $(".box").height(boxSize);
      });
});
</code></pre>

<p>But it doesn't, i would like boxSize to be specific for each box, anyone?</p>

<p>Thanks</p>
