On Jan 22, 2:57 pm, yves coor <[EMAIL PROTECTED]> wrote:
> I don't think I am but maybe I'm judging this wrongly.
> I call two functions:
>
> readXml(...);
> displayPlayer(...);
>
> The second one uses the global var myarray but it's always undefined.

I think that that's where the asynchronous bit comes in. Think it
should be something like:

var helper = function(xml) {
  readXml(xml);
  displayPlayer();
}

...
success: helper

hope this makes any sense,

Groeten,

Friso

Reply via email to