Opened 11 years ago
Closed 11 years ago
#12369 closed bug (fixed)
ajax, use find method for read xml
Reported by: | Owned by: | Timmy Willison | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8.1 |
Component: | selector | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
hi ajax time, use find method read xml error.
sample.
$.ajax( ... success : function(oData) { // ok alert($(oData).find('sampleXML').find('status').text()); // error alert($(oData).find('sampleXML status').text()); }, ...);
sample page jquery 1.7.2 : OK http://learnws.byus.net/jq/sample.php?ver=172min
jquery 1.8.0 : Errror http://learnws.byus.net/jq/sample.php?ver=180min
jquery 1.8.0 : Errror http://learnws.byus.net/jq/sample.php?ver=180
thank.
Change History (5)
comment:1 Changed 11 years ago by
Component: | unfiled → selector |
---|---|
Milestone: | None → 1.8.1 |
Priority: | undecided → blocker |
Status: | new → open |
comment:2 Changed 11 years ago by
Owner: | set to Timmy Willison |
---|---|
Status: | open → assigned |
comment:3 Changed 11 years ago by
Owner: | changed from Timmy Willison to gibson042 |
---|
comment:4 Changed 11 years ago by
Owner: | changed from gibson042 to Timmy Willison |
---|
Woops, this one's me.
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Sizzle: adjust caching to avoid IE errors on xml descendent selectors. Fixes #12369.
Changeset: a66b5c7569fb7d06b970bb5424401d1eb0786a3b
Note: See
TracTickets for help on using
tickets.
Specifically, IE9 and older. Sizzle is trying to assign an expando to the XML element which isn't allowed.