Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1442 closed bug (invalid)

Exception in IE when accessing XML attribute

Reported by: john Owned by: john
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description

Occurs with the following XML file: http://www.xqus.com/phpsysinfo/xml.php

and the following code:

  version = $("Generation", xml).attr("version"); 
  $("#version").append(version);

full demo: http://www.xqus.com/phpsysinfo/ajax.php

Change History (4)

comment:1 Changed 13 years ago by john

Summary: Exception when accessing XML attributeException in IE when accessing XML attribute

comment:2 Changed 13 years ago by john

Owner: set to john

comment:3 Changed 13 years ago by john

Ok, so the issue was that there was an element in the page that had the same ID as the version variable - but version was never defined, so an exception was being thrown when it was being set. This is a case where something in the FAQ might help.

comment:4 Changed 13 years ago by john

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