How can I use jQuery to assign every element in a class its current height to its data-height attribute?
<p>So if I were dealing with just one element, I could use the following:</p>

<pre><code>$("#id").attr( "data-height" , $("#id").css("height") );
</code></pre>

<p>But is there any way to do this with every element in a class?</p>
