jQuery 1.3.2 with AJAX without ActiveX?
Hi,
I just was playing around with jQuery and decided to use it for my development work. I noticed, that in IE7 no ajax request is working if ActiveX is disabled. I thought, that at least >= IE7 activex is not needed and the XMLHTTPRequest Object is used (activex needs to be disabled for security reasons)
unfortunatly thats not the case. I dont get ajax working with activex disabled. What I'm doing wrong? I dont understand why jquery wants to use activex in IE although it's disabled.
in the ajaxSettings() Method of jquery its said:
-
return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
If I just change it to:
-
return new XMLHttpRequest();
its working in IE7 with activex disabled.
an other question: is it possible to work with ajax in IE5/6 with activex disabled too?
thanks for some advice,
krush