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 comment:1
cc: | → ericerau, flesler |
---|---|
component: | core → ajax |
milestone: | 1.2.5 → 1.3 |
need: | Review → Test Case |
priority: | blocker → minor |
Changed January 05, 2009 02:05PM UTC by comment:2
Changed January 08, 2009 03:54AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | new → closed |
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.
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