Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14301 closed bug (cantfix)

.on() throws an error when used on an XML document in IE8

Reported by: rosen@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Description

Fiddle: http://jsfiddle.net/6kfQw/

Trying to attach a custom event handler to an XML document throws an error in IE8 (works fine in FF, Chrome, IE9+).

The error is "Object doesn't support this property or method".

Tested against jQuery 1.x (edge)

Change History (2)

comment:1 Changed 6 years ago by dmethvin

IE8 documents can't have additional properties added to them, so they can't use the event or data APIs.

comment:2 Changed 6 years ago by dmethvin

Resolution: cantfix
Status: newclosed
Note: See TracTickets for help on using tickets.