Did you set a content-type header for your POST request? Try adding this before you call send():
xmlhttp.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' );
Also, I strongly recommend checking out something like prototype.js -- it makes doing cross-platform AJAX requests much easier than dealing with XMLHTTPRequest directly.
In reply to Re: Perl's CGI.pm and Javascript's XMLHttpRequest
by friedo
in thread Perl's CGI.pm and Javascript's XMLHttpRequest (SOLVED)
by EvanK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |