Ajax failed request in Chp 7
Hi,
I am getting a return code of 404 in the mod_articleajax.php code example. No matter what browser I use or weather I use my own typed in code or code directly from the book I get the same result. I modified the the line:
overlib('There was a problem with the request.',CAPTION,'Retrieval Error',BELOW,RIGHT);
to:
overlib(myRequest.status,
CAPTION,'Retrieval Error',BELOW,RIGHT);
so that I could see the return code I was getting and it is always 404. That means there is something wrong with the 'myRequest' but I cannot figure out what it is.
Does anyone have this example working?
Thanks
|