Re: "Object Required" by IE 6 when using Msxml2.XMLHTTP
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: "Object Required" by IE 6 when using Msxml2.XMLHTTP

From: Brent <@>
Date: Mon Nov 14 2005 - 20:58:13 CET

So...I figured it out...it turns out that the problem wasn't the object
      I thought, but rather that the response coming back into the
makeRequest function wasn't coded as XML. Safari and Firefox had no
problem with it because of the line ...

                 http_request.overrideMimeType('text/xml');

...but IE Explorer wasn't so forgiving. I changed the response type to
"text/xml" server side, and all's well.

Or not quite well: now, in IE Explorer, the code runs once and once
only. I have to reload the page to get it to run again.

It'd be nice to have some pointers on this issue, too!

Thanks for all your replies!

--Brent

Brent wrote:
> This AJAX stuff is all new to me. To try it out, I borrowed this code
> from a website:
>
Received on Mon Nov 21 03:29:04 2005