Modify ↓
Ticket #755 (closed bug: fixed)
$("foo").find("foo") returns weird results
| Reported by: | john | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1a |
| Component: | core | Version: | 1.1a |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When an initial selector doesn't return any results, future selectors will simply return an array, of length one, that has a value of undefined. You can test it like so:
$("foo").find("foo") or $("foo").find("div")
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Fixed in SVN.