473,472 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2068
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: mikeyjudkins | last post by:
Ive been banging my head on the wall for hours with this one, hopefully someone will know what Im doing wrong here :\ The Goal: I have an xml file that is generated on the fly via JSP which I...
5
by: Justice | last post by:
Currently I'm doing some experimenting with the XMLHTTP object in Javascript. Now, the XMLHttp object is asynchronous (at least in this case), and the following code causes a significant memory...
50
by: Philipp Lenssen | last post by:
A nice way to dynamically update HTML on a page (without leaving the page) is to use document.innerHTML and XMLHTTP in JavaScript, then communicate with the server via XML snippets (plus some...
6
by: Vanessa | last post by:
I have a question regarding async mode for calling Microsoft.XMLHTTP object. Microsoft.XMLHTTP hangs the IE once in a while suddenly, but it will work again after half an hour or so without doing...
1
by: wh173b0y | last post by:
Alright, i`m developing a site for a contest that runs off of asyncronus HTTP requests(AJAX is the popular term). now i'm using code that is based strongly off the mozilla developer center's...
5
by: McKirahan | last post by:
Which of these should Firefox 1.5 support? MSXML2.XMLHTTP.5.0 MSXML2.XMLHTTP.4.0 MSXML2.XMLHTTP.3.0 MSXML2.XMLHTTP Microsoft.XMLHTTP WinHttp.WinHttpRequest.5 WinHttp.WinHttpRequest.5.1
13
by: yawnmoth | last post by:
<http://www.quirksmode.org/book/printable/xmlhttp.txtshows two alternatives to Microsoft.XMLHTTP - Msxml2.XMLHTTP and Msxml3.XMLHTTP. If my understanding is correct, the different numbers refer to...
9
by: balakrishnan.dinesh | last post by:
hi frnds, Is Ajax can only used as xmlhttp or else it can use for anyother purpose, If any sample example code for that, plz reply to me soon. Thanks Dinesh B...
14
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
I've been searching everywhere online to find an alternative method besides using Microsoft.XMLHTTP (as it freezes the server up alot!!) but with no luck at all. I am using server side ASP, and...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.