Remove empty tags in a HTML doc with jQuery
<p>im trying to remove empty p tags using jquery. </p>

<p>Ive written the following only it doesnt seem to work...</p>

<pre><code>      $( 'p:empty' ).remove();
</code></pre>

<p>Heres a live demo...</p>

<p><a href="http://jsfiddle.net/CuJXG/" rel="nofollow">http://jsfiddle.net/CuJXG/</a></p>
