xmlhttp req without ActiveX on IE 5/6

S

shypen42

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,
 
M

Matt Kruse

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.
 
S

shypen42

Matt said:
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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top