Can someone give me an example of how to pass additional arguments to
your callback function? I've read the documentation and I *think* I
understand what it says, but I'm unsure of the correct syntax.

What I'm specifialy trying to do is pass the field element to the
callback function like so:

function validateField(el) {
        var url = "validate.asp?field="+el.value;
        var d = doSimpleXMLHttpRequest(url).addCallback(noError(el,r));
}

function noError(el,r) {
.... process response r
.... and then do something with element el
}

Thanks,
James

Reply via email to