Side navigation
#4807 closed bug (fixed)
Opened June 23, 2009 04:21AM UTC
Closed January 09, 2011 04:00PM UTC
Last modified January 28, 2011 01:13AM UTC
Offline $.ajax call in IE$ get response as String
Reported by: | ikkyu | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | ajax | Version: | 1.4.4 |
Keywords: | offline,ajax,IE,xml | Cc: | |
Blocked by: | Blocking: |
Description
description:
Offline ajax call to an offline local html or xml file get response as String, not xml document, and cannot be use with selectors.
reproduction step:
- write ajax call to an offline local html/xml file.
- execute the html/script locally (not via server) in IE6
- The response data type is a String. A selector cannot be applied to the data.
- If specified dataType:"xml", it will call error function. But the response text is the same data string.
I search the Internet and found a website that describe exactly the same problem with a workaround.
http://stackoverflow.com/questions/436670/local-html-file-ajax-call-and-jquery-woes
Attachments (0)
Change History (6)
Changed November 17, 2010 04:29AM UTC by comment:1
milestone: | 1.4 |
---|---|
priority: | major → low |
status: | new → open |
Changed December 13, 2010 04:03PM UTC by comment:2
Using jQuery 1.4.4 and have exactly the same problem. The Workaround found in the posted Link work fine.
Changed December 27, 2010 10:36PM UTC by comment:3
keywords: | offline ajax IE xml → offline,ajax,IE,xml,ajaxrewrite |
---|
Changed January 09, 2011 04:00PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | open → closed |
The new ajax implementation will automagically parse text as xml if dataType: "xml" has been specified. It's part of a much broader dataType conversion architecture.
Changed January 28, 2011 01:11AM UTC by comment:5
keywords: | offline,ajax,IE,xml,ajaxrewrite → offline,ajax,IE,xml |
---|---|
milestone: | → 1.5 |
version: | 1.3.2 → 1.4.4 |