Ticket #1154 (closed enhancement: fixed)
Gracefully ignore non-elements
|Reported by:||john||Owned by:|
A good deal of functionality would be possible (e.g. .childNodes()) and less bugs would occur if jQuery gracefully ignored non-elements. This would mean that any function accessing a node, would have to verify that it is, in fact, an element first.