Bug Tracker

Opened 11 years ago

Closed 11 years ago

#11100 closed bug (invalid)

Inconsistent Results when Appending to Collection Created from String

Reported by: jugglinmike Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


When a collection contains an element that cannot be appended to (i.e. style, img, br), $.fn.append will throw an error in IE 6, 7, and 8 (but not in, for instance: IE 9, Firefox 3+, Chrome 16, or Safari 4).


Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

The result of doing something invalid is undefined and can certainly differ across browsers. I actually wish all browsers threw errors for this, so it would be easier for people to find their mistakes.

Note: See TracTickets for help on using tickets.