Friday, November 03, 2006

A tiny getting

play with Ajax with XMLHTTP object.
Get an error with "Unkown name",
It's because the URL of webpage includes "localhost".

Another error from Firefox, which is "invalid length".
Solution is simple. replace xmphttpobject.send(null) with send('')

that's it.

No comments: