473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

XMLHttpRequest on a MAC's IE browser?

I am trying to use XMLHttpRequest on the IE browser of a MAC machine. It
throws me a javascript error which reads as "Object doesn't support this
action" while trying to create an instance of the XMLHttpRequest object using
new ActiveXObject('Microsoft.XMLHTTP')

So IE/MAC does not support ActiveX technology? Did anyone encounter this
problem?

Thanks!!!
Dec 9 '05 #1
3 1134
I'm pretty sure that ActiveX only works in IE on windows. You can get it
to work in Firefox also, but it's windows only anyway.
Are you trying to do some AJAX stuff? Check out some of the libs to see
how they do it. There is a .NET framework for AJAX here.
http://ajax.schwarz-interactive.de/c...e/default.aspx

btw, and alternative to XMLHttpRequest is to use an IFrame object
instead to do the postback without refreshing the whole page.

Best regards,
Mats

Diffident wrote:
I am trying to use XMLHttpRequest on the IE browser of a MAC machine. It
throws me a javascript error which reads as "Object doesn't support this
action" while trying to create an instance of the XMLHttpRequest object using
new ActiveXObject('Microsoft.XMLHTTP')

So IE/MAC does not support ActiveX technology? Did anyone encounter this
problem?

Thanks!!!

Dec 10 '05 #2
You should check out the following article on Apple's site:

http://developer.apple.com/internet/...mlhttpreq.html

Gives a great example and code for writing XMLHttpRequest that will support
standards browsers and IE.

Joel

"Diffident" wrote:
I am trying to use XMLHttpRequest on the IE browser of a MAC machine. It
throws me a javascript error which reads as "Object doesn't support this
action" while trying to create an instance of the XMLHttpRequest object using
new ActiveXObject('Microsoft.XMLHTTP')

So IE/MAC does not support ActiveX technology? Did anyone encounter this
problem?

Thanks!!!

Dec 14 '05 #3
Also in ASP.NET 2.0 you might want to look client side callbacks using
ICallbackEventHandler, works on all platforms.

"JDonaldson" <JD********@discussions.microsoft.com> wrote in message
news:C3**********************************@microsof t.com...
You should check out the following article on Apple's site:

http://developer.apple.com/internet/...mlhttpreq.html

Gives a great example and code for writing XMLHttpRequest that will
support
standards browsers and IE.

Joel

"Diffident" wrote:
I am trying to use XMLHttpRequest on the IE browser of a MAC machine. It
throws me a javascript error which reads as "Object doesn't support this
action" while trying to create an instance of the XMLHttpRequest object
using
new ActiveXObject('Microsoft.XMLHTTP')

So IE/MAC does not support ActiveX technology? Did anyone encounter this
problem?

Thanks!!!

Dec 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: RCarter | last post by:
Hi, I have to write a web program (not a web site) and I was exploring all possibilities. When I found XMLHttpRequest I decided to use it. I'm interesting also in DOM, and I formuled this idea of...
42
by: Greg | last post by:
Hi, I've designed a bookmark in Ajax / PHP that I will put soon on sourceforge.net. But I've got an very tricky bug. I try it on some computers with Internet Explorer/Windows, Firefox...
7
by: pamelafluente | last post by:
The precious input given by Laurent, Martin, Benjamin about XMLHttpRequest in Javascript, has made me think that perhaps I could improve what I am currently doing by using Ajax. Let's make it...
13
by: TLaufenberg | last post by:
I'm new to Javascript programming and I've run into a bit of a snag with making an XMLHttpRequest in the Safari browser. Actually, the request doesn't work in Firefox either but only when I use a...
5
by: Peter Michaux | last post by:
Hi, The FAQ correctly says the following: "Mozilla (NN6.2+, Firefox, Ice Weasle etc), Opera 7.6+, Safari1.2+, the Windows version of IE versions 5+, and some other browsers provide the XML...
3
by: perrog | last post by:
Hi! What is the expected behaviour when you send an XmlHttpRequest just before the page is about to unload? I'm sending a XmlHttpRequest on an onClick event, and I can inspect that the request...
1
by: Charlie | last post by:
I am trying to make an XMLHttpRequest which violates the default "same- origin"policy in Firefox. I checked the archives and found a method that should work but it does not. Below is the test code...
1
by: geevaa | last post by:
http://www.phpbuilder.com/columns/kassemi20050606.php3 XMLHttpRequest and AJAX for PHP programmers James Kassemi Introduction: Although the concept isn't entirely new, XMLHttpRequest...
6
by: Patrick Nolan | last post by:
I'm working on cross-platform portability of some javascript. My Macintosh testing platform is rather old. It has Safari 1.3.2 and Internet Explorer 5.2. I got Safari working, but now IE is...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.