Monday, February 26, 2007

Internet Explorer vs Firefox XMLHttpRequest.send()

Quick note to self - This will work in Internet Explorer no problem:

XMLHttpRequestObject.send();

However, it will generate javascript exceptions in other applications (such as Firefox 2.0). To get around that, instead do this:

XMLHttpRequestObject.send(null);

2 comments:

Adam said...

Thanks for that, was driving me crazy.

Sheshu In said...

It still doesn't work :(

Disqus for A Nofsinger's Blog