Side navigation
#12369 closed bug (fixed)
Opened August 22, 2012 03:16AM UTC
Closed August 29, 2012 12:10AM UTC
ajax, use find method for read xml
Reported by: | kjyoffice@empal.com | Owned by: | timmywil |
---|---|---|---|
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.
Attachments (0)
Change History (5)
Changed August 22, 2012 03:21AM UTC by comment:1
component: | unfiled → selector |
---|---|
milestone: | None → 1.8.1 |
priority: | undecided → blocker |
status: | new → open |
Changed August 24, 2012 09:57PM UTC by comment:2
owner: | → timmywil |
---|---|
status: | open → assigned |
Changed August 27, 2012 04:18PM UTC by comment:3
owner: | timmywil → gibson042 |
---|
Changed August 27, 2012 04:18PM UTC by comment:4
owner: | gibson042 → timmywil |
---|
Woops, this one's me.
Specifically, IE9 and older. Sizzle is trying to assign an expando to the XML element which isn't allowed.