Bug Tracker

Opened 15 years ago

Last modified 12 years ago

#220 closed

in IE .attr(String) fails with an error on an XMLDOM document — at Initial Version

Reported by: [email protected] Owned by:
Priority: undecided Milestone:
Component: ajax Version:
Keywords: Nathan Cc: Nathan
Blocked by: Blocking:

Description

I am using jQuery to work with XML documents that are parsed in the browser. However using the .attr(String) method fails with an error in IE.

I have tracked down the problem, which appears to be different implementations of 'getAttribute' between the HTML DOM and XMLDOM in IE.

I have attached a patch with a test case and my fix. Unfortunately the fix consists of catching the error and calling the other version of the function, which seems a bit clunky.

Change History (4)

Changed 15 years ago by [email protected]

Attachment: jquery-220.patch added

Changed 15 years ago by [email protected]

Attachment: jquery-220.2.patch added

patch for the problem

Changed 15 years ago by [email protected]

Attachment: jquery-220.3.patch added

Changed 15 years ago by [email protected]

Attachment: jquery-220-patch.txt added
Note: See TracTickets for help on using tickets.