Opened 15 years ago
Closed 14 years ago
#3318 closed bug (invalid)
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 [email protected]…
Change History (3)
comment:1 Changed 15 years ago by
Cc: | ericerau flesler added |
---|---|
Component: | core → ajax |
Milestone: | 1.2.5 → 1.3 |
need: | Review → Test Case |
Priority: | blocker → minor |
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
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