A search of this forum shows requests for such a download from Matthew Eernisse’s Build Your Own Ajax Web Applications.
The only response I show is someone asking for help debugging what s/he typed in.
Regards,
Grnadpa Brian
A search of this forum shows requests for such a download from Matthew Eernisse’s Build Your Own Ajax Web Applications.
The only response I show is someone asking for help debugging what s/he typed in.
Regards,
Grnadpa Brian
This maybe what you are looking for? Apologies if it isn’t this is some code we have called ajax.js
function ajax(url, vars, callbackFunction){
var request = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("MSXML2.XMLHTTP.3.0");
request.open("POST", url, true);
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
request.onreadystatechange = function(){
if (request.readyState == 4 && request.status == 200) {
if (request.responseText){
callbackFunction(request.responseText);
}
}
}
request.send(vars);
}