How to remove empty list item with jquery
<p>I have a list which is dynamically built, but there are empty list items which need removing.</p>

<pre><code>&lt;ul&gt;
&lt;li&gt;www&lt;/li&gt;
&lt;li&gt;www&lt;/li&gt;
&lt;li&gt;www&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>How od i do this with jquery?  Thanks</p>
