Ajax not working on IE 6 for Windows CE


Posted on 16th Feb 2014 07:03 pm by admin

I've created a webpage which uses the classis Ajax in following format:view plaincopy to clipboardprint?function mytest() {
try {
xmlHTTP = new XMLHttpRequest();
}
Did you know?Explore Trending and Topic pages for more stories like this.
catch (e) {
try {
xmlHTTP = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
xmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e) {
alert('Your browser does not support AJAX!'); return false;
}
}
}
} function mytest() {
try {
xmlHTTP = new XMLHttpRequest();
}
catch (e) {
try {
xmlHTTP = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
xmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e) {
alert('Your browser does not support AJAX!'); return false;
}
}
}
}
This works absolutly fine on evey browser for Windows XP, Windows Vista.But When I run this code on IE 6 for Windows CE (version 6.0), it alerts me that 'Your browser does not support AJAX'.Can anybody tell me what can be problem. Because I don't that IE 6 on Windows CE will not support ajax, or is this the case?
Thanks in advance for your reply.
No comments posted yet

Your Answer:

Login to answer
84 Like 39 Dislike
Previous forums Next forums
Other forums

Opening Multiple Files/Links in Order.
I want to open links in order/one-by-one and check each for a specific string.

Example:
I

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
what is wrong with this

Code: [Select]<?php
if ($_SERVER['HTTP_REFERER'])
{

Problem with creating FI documents
Hi, Experts!

when i create Fi doc. with standart transaction, i ve been had such problem

PHP - MySQL Fail
My PHP code will only execute the first part of my code...

Code: <?php

sessio

controlling/creating accounts with privileges
hi all,
i'm trying to figure out how i can create/control account with privileges, for instance a

Can you help please? Php file
I have to write this php file to allow users to register their nicknames on nickserv

For an I

Java API in PHP?
I have an application that we use internally here at the office.

The software company provide

Basic Question Regarding PHP Includes
Hi

Just starting out with PHP.

Working on a site that uses some basic includes, these

Progress bar for webpage
Hi,
I want to implement a progress/waiting bar on my webpage - exactly the same thing that the Mi

Multi Dimensional Array Append
Hi Guys

I have a function that returns a multidimentional array eg

$result = functio

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash