Skip to main content

Bug Tracker

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 dmethvin comment:1

milestone: 1.4
priority: majorlow
status: newopen

Changed December 13, 2010 04:03PM UTC by manuel.richarz@nysoft.de 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 rwaldron comment:3

keywords: offline ajax IE xmloffline,ajax,IE,xml,ajaxrewrite

Changed January 09, 2011 04:00PM UTC by jaubourg comment:4

resolution: → fixed
status: openclosed

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 jitter comment:5

keywords: offline,ajax,IE,xml,ajaxrewriteoffline,ajax,IE,xml
milestone: → 1.5
version: 1.3.21.4.4

Changed January 28, 2011 01:13AM UTC by jitter comment:6

#3598 is a duplicate of this ticket.