jQuery find width of each li element?
<p>anyone know a way to find the width of each li within the ul?</p>

<p>I tried </p>

<pre><code>var totalWidth;
jQuery("ul li").each(function() { totalWidth += jQuery(this).outerWidth(); });
</code></pre>

<p>But didn't work...</p>
