H
Haris
Hi.
How should the simplest XMLHttpRequest look like ?
I create XMLHttpRequest object:
var xhr=new XMLHttpRequest();
// then the open mathod
xhr.open ("GET", "something.xml");
// send
xhr.send (null);
// and
xhr.onreadystatechange=function a { ... }
The function "a" is a callback I guess, but how to
get a response from the server in that callback ?
I use Lisp server Hunchentoot, and where to enter a Lisp code
to interact with the server ?
How should the simplest XMLHttpRequest look like ?
I create XMLHttpRequest object:
var xhr=new XMLHttpRequest();
// then the open mathod
xhr.open ("GET", "something.xml");
// send
xhr.send (null);
// and
xhr.onreadystatechange=function a { ... }
The function "a" is a callback I guess, but how to
get a response from the server in that callback ?
I use Lisp server Hunchentoot, and where to enter a Lisp code
to interact with the server ?