471,578 Members | 1,292 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,578 software developers and data experts.

xmlhttp req without ActiveX on IE 5/6

Hi everybody,

I'm pretty new to Javascript (I'm more on the server-side usually :)

I've been doing some XMLHttp request lately, communicating
in an "Ajax" style (to be buzzword compliant) with the server...
Quite handy :)

It works fine on Firefox, Opera and IE 6 with ActiveX enabled
and apparently IE7 with ActiveX disabled.

However with ActiveX disabled on IE6 I get an error message:

"un composant ActiveX n'a pas pu creer un objet" (excuse my french ;)

Here's a blog from an IE7 developer:

http://blogs.msdn.com/ie/archive/2006/01/23/516393.aspx

where it is stated:

"In IE6 and below, XMLHTTP is implemented as an ActiveX
"object provided by MSXML.

So my question is: is it possible to easily do (or simulate) the
equivalent of an XMLHTTP object using IE 6 with ActiveX
disabled?

What is actually the relation between an XMLHTTP object and
ActiveX in IE 6 and below?

Thanks in advance for any infos,

May 8 '06 #1
3 1983
sh******@yahoo.fr wrote:
So my question is: is it possible to easily do (or simulate) the
equivalent of an XMLHTTP object using IE 6 with ActiveX
disabled?


Yes, you can use a hidden IFRAME to communicate back and forth to the
server.
This introduces issues with the back button, however.

There is no way to use XMLHTTP in IE6 without ActiveX enabled.

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
May 8 '06 #2
Matt Kruse wrote:
sh******@yahoo.fr wrote:
So my question is: is it possible to easily do (or simulate) the
equivalent of an XMLHTTP object using IE 6 with ActiveX
disabled?
Yes, you can use a hidden IFRAME to communicate back and forth to the
server.
This introduces issues with the back button, however.


oh I see... After reading your post I just read a little bit on that
subject.

There is no way to use XMLHTTP in IE6 without ActiveX enabled.


Thanks for the infos :)

May 8 '06 #3
sh******@yahoo.fr wrote:
So my question is: is it possible to easily do (or simulate) the
equivalent of an XMLHTTP object using IE 6 with ActiveX
disabled?


Dean Edwards recently blogged about a way to load XML without ActiveX
using XML data islands: http://dean.edwards.name/weblog/2006/04/easy-xml/

It isn't exactly "simulating" XMLHTTP, though I suppose you could write
a wrapper to do the simulating.

Kevin N.
May 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

50 posts views Thread by Philipp Lenssen | last post: by
6 posts views Thread by Vanessa | last post: by
1 post views Thread by wh173b0y | last post: by
5 posts views Thread by McKirahan | last post: by
13 posts views Thread by yawnmoth | last post: by
9 posts views Thread by balakrishnan.dinesh | last post: by
14 posts views Thread by =?Utf-8?B?VmFuZXNzYQ==?= | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by lumer26 | last post: by
1 post views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.