[jQuery] children function breaks when there are no children

[jQuery] children function breaks when there are no children

<div>
<div><BODY>


</BODY></div>
<div> </div>
<div>$('p').children();</div>
<div> </div>
<div> </div>
<div>breaks in sibling: function(elem, pos, not); elem parameter is null since there are no children.</div>
<div> </div>
<div>Is there a fix for this problem?</div>
<div> </div>
<div>thanks</div></div>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/