hi friends,
I'm trying to read an XML file using a jQuery 1.4 ajax ... the code is something like this ...
$.ajax({
type: "GET",
url: "abcde.xml",
dataType: "xml",
error: function(){
/* error lines goes here */
},
success: function(){
/* success lines goes here */
}
});
it takes time to read the XML file (may be b'cause the file is huge) but it goes into the "error" code straight away and if made to wait the same code enters success codes. why so?
how to resolve this issue?
thanks :)