Bug Tracker

Opened 8 years ago

Closed 8 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:

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

comment:1 Changed 8 years ago by flesler

  • Resolution set to invalid
  • Status changed from new to closed

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.