Saturday, November 29, 2008

[jQuery] .ajax and ie7?

Hello all,

I am using .ajax to populate an array via a PHP generated XML file

//snip

$.ajax({
url : "readimages.php",
async : false,
data : "imagefolder=" + folderName + "&imagePrefix=" +
imagePrefix,
success : function(xml)
{
$(xml).find('file').each(function()
{
imageList.push($(this).text());
});
}
});

This works perfectly in FF but the success function does not get called when
run in IE7... should this code work ok or is IE a lost cause?

Cheers
Dave

No comments: