Getting the combined height of serveral elements using jQuery
<p>Is it possible to get the combined height of several elements without iterating over them?   Note that <code>&lt;li&gt;</code> elements might have different height.</p>

<p>The following does not work, and will only return a value (not combined) if slice starts at zero.</p>

<pre><code>$('#myList li').slice(4,8).count();
</code></pre>
