also If you do something like this (don't know if you do):

var myarray = new Array();

function readXml(){ ..ajax.. }

function handleXML(xml) {   myarray[i] == ...}

var x = myarray.length;

then x will always be 0 because myarray.length get's executed before
the ajax call returns success (asynchronous).

David

Reply via email to