Bug Tracker

Opened 15 years ago

Closed 15 years ago

#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:
Blocked by: Blocking:


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 (1)

comment:1 Changed 15 years ago by flesler

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.