Modify ↓
Ticket #3090 (closed bug: invalid)
juery-1.2.6.js line 725 undefined error
| Reported by: | jsoup | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | core | Version: | 1.2.6 |
| Keywords: | undefined | Cc: | |
| Blocking: | Blocked by: |
Description
juery-1.2.6.js line 725: var name, i = 0, length = object.length;
should be: var name, i = 0, length = object ? object.length : undefined;
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.

No, that happens because you're sending jQuery.each an undefined collection. That is not a supported argument, you need to check that before you call the function.