Hi all,
I have a probelm I am trying to work around.

In the code below the id proprty is not visible in the "loadedFnc" function.

I am trying to do something asynchronously, thus am setting the onreadystatechange
property to be a function in the javascript object. However when I do this
the "this" does not see the properties of my object.

Am I being a little ambitous?


function xmlCache(pid)
this.id = pid;
this.load = xmlCacheLoad;
var xmlHttp = new ActiveXObject("MSXML2.XMLHTTP.3.0");
this.HTTP = xmlHttp;
function xmlCacheLoad()
this.HTTP.onreadystatechange = this.loadedFnc;

function loadedFnc()
//do something