peepz,
i have this script to get data from XML:
if(categoryID == "")
{
_global.categoryID = 1;
}
var photoXML = new XML();
photoXML.categoryID = categoryID;
photoXML.ignoreWhite = true;
photoXML.sendAndLoad("includes/photo_gallery_photos.php", photoXML, "POST");
photoXML.onLoad = function (success) {
if (success) {
parseFile(photoXML);
showArray();
}
}
in the function “showArray()” im tracing ap.length and it returns “0” but if change the rule in the code above to:
photoXML.load("includes/photo_gallery_photos.php?categoryID=1");
i get all my XML data back, what im doing wrong?
hope somebody can help!
thnx!