jquery remove all child elements and leave text
<p>Whats the best way to remove all child elements from a div but leave any text that is directly inside the div in jquery.</p>

<p>I have tried .childre().remove() but this is adding loads of whitespace in firefox and opera.  Works fine in ie though.</p>
