JQuery.get reminder is not called in IE6

advertisements

I have some Javascript code containing calls to jQuery.get(). I'm passing a callback to receive the response from the server.

In Firefox 3.5 (Windows and Linux) and IE8, the callback is called reliably. In IE6, it's never called.

I've tried jQuery 1.3 and 1.4 -- same result.

Is there some setting in IE6 that could cause such a problem? I've tried IE6 from a couple of different machines, same behavior.


Can you confirm that in IE6 the server talk is taking place and that the data is being received, if not then its not a callback issue but and XmlHttpRequest issue.

Also try setting the dataType attribute in the ajax call to whatever your fetching, so for instances if your fetching an xml document then do

$(function() {
        $.ajax({
                type: "GET",
                url: "some.xml",
                dataType: "xml", //<<<<<<<<
                success: function(xmlData)
                {
                        alert('Fetch')
                }
        });
});

As iv'e heard that it has caused some issues in the past.