[jQuery] Strange jQuery behavior in IE (6&7)

[jQuery] Strange jQuery behavior in IE (6&7)


Hello all!
I have some funny things with jquery.
In developing my first application was confronted with such a problem:
$.ajax () incorrectly works in IE6 and IE7.
Example 1. jquery.autocomplete plugin. FF, Opera, Safari - all is
well. In IE request sent to the server returns the data (text /
plain), but the data do not appear on the autocomplete box.
Example 2. simply jQuery.ajax (). The situation is similar, but I
decided to find a solution. First it turned out that - IE does not
consider a request successfully completed - triggered error callback
(textStatus = parsererror).
The sequence of roughly this:
about line 2712 (jquery.js) if request successfull, we enter in the
function jQuery.httpData (xml, s.dataType). In this feature, it seems
the problem is in command of these lines:
var data = xml ? r.responseXML : r.responseText;
if (xml && data.documentElement.tagName == "parsererror")
(
throw "parsererror";
)
in that place I have a xml = false, r.responseText not even displayed
as follows:
alert (r.responseText)
Does someone have seen such ajax trouble? What it involves, and how to
avoid it?