#4807 closed bug (fixed)
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
Change History (6)
comment:1 Changed 12 years ago by
Milestone: | 1.4 |
---|---|
Priority: | major → low |
Status: | new → open |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Keywords: | ajaxrewrite added |
---|
comment:4 Changed 12 years ago by
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.
comment:5 Changed 12 years ago by
Keywords: | ajaxrewrite removed |
---|---|
Milestone: | → 1.5 |
Version: | 1.3.2 → 1.4.4 |
Note: See
TracTickets for help on using
tickets.
Using jQuery 1.4.4 and have exactly the same problem. The Workaround found in the posted Link work fine.