Skip to main content

Bug Tracker

Side navigation

#3318 closed bug (invalid)

Opened September 02, 2008 09:56PM UTC

Closed January 08, 2009 03:54AM UTC

find doesn't work in IE but works fine in Firefox

Reported by: ericerau Owned by:
Priority: minor Milestone: 1.3
Component: ajax Version: 1.2.6
Keywords: Cc: ericerau, flesler
Blocked by: Blocking:
Description

var s = "<Orders>" +

" <Order>" +

" <OrderNo>12345</OrderNo>" +

" <Path>this is the path value</Path>" +

" <Base64>asdfasdfasdf.....sgdfgsdfg</Base64>" +

" </Order>" +

"</Order>";

alert($(s).find('Path').text())

This doesn't work in IE, but works fine in firefox. The code has been modified to do the test. In reality I didn't build the xml string like that. It was the result of a web service call. I considered a blocker because it makes the application unusable for Ajax. I have a post for this on experts exchange, check it out here:

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/XML/Q_23696687.html

If you have any questions email me at ericerau@yahoo.com

Attachments (0)
Change History (3)

Changed September 03, 2008 04:36PM UTC by flesler comment:1

cc: → ericerau, flesler
component: coreajax
milestone: 1.2.51.3
need: ReviewTest Case
priority: blockerminor

Can you please provide a test case ? that is, a small html file with the minimum html/css/js necessary to reproduce the problem.

Thanks

Changed January 08, 2009 03:54AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

Yes, most likely IE is not happy trying to parse XML with its tag-soup parser. Try using the technique in the link above and reopen the ticket if a proper XML parser doesn't fix the issue.