RuneSpyder
20 Sep 2007, 1:41 PM
I have an onLoad event firing for a datastore that is using an xmlReader and an HttpProxy. When the event fires, I get the store,records and options passed into my function.
The problem is that the xmlReader.xmlData property of the store does not contain any data in IE, but it does contain data in Firefox. It is still parsing my data the way that I would expect but for some reason that property is always empty in IE 7?
ds.on('load', callback);
function callback(oStore, aRecords, oOptions){
if (oStore.getTotalCount() == 0)
{
var oReader = oStore.reader;
var oXML = oReader.xmlData;
YAHOO.log(oXML);
}
}
The problem is that the xmlReader.xmlData property of the store does not contain any data in IE, but it does contain data in Firefox. It is still parsing my data the way that I would expect but for some reason that property is always empty in IE 7?
ds.on('load', callback);
function callback(oStore, aRecords, oOptions){
if (oStore.getTotalCount() == 0)
{
var oReader = oStore.reader;
var oXML = oReader.xmlData;
YAHOO.log(oXML);
}
}