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();
}
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

Header redirect
Hello ive got a problem ive got form with its action set to itself.
Code: <form id="f

Parse Error Help
Hello, I got the parse error "Parse error: syntax error, unexpected ',' in register.php on line

Downloading file (Headers)
I'm trying to make users download a file, but they must wait 60 seconds before it begins.

But

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Echo Tweaking help!
HI. I would like to have the output of the entered variables repeat forever, but it's stopping at th

Login Script Issues
I am using a script I got from http://phpsense.com/php/php-login-script.html in order to allow peopl

Help Optimizing code
Good Morning,

I wrote a small import function for a website of mine and I know there has to b

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

php require help needed
Ok i tried to use the search funtion but the word require is everywhere.

i'm really new to cr

How to assign a textbox value to PHP variable??
Hi ! Can any one help me out as quickly as possible. As I m new to PHP.
Plz tell me how to assign

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