|
-
August 12th, 2007, 09:18 AM
#5
Re: XMLHTTP does not work on IE
window.createRequest does not work either.. tried the following code
Code:
var xmlhttp
function GetXmlHttpObject()
{
var xmlhttp=false;
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
try {
xmlhttp = new XMLHttpRequest();
} catch (e) {
xmlhttp=false;
}
}
if (!xmlhttp && window.createRequest) {
try {
xmlhttp = window.createRequest();
} catch (e) {
xmlhttp=false;
}
}
return xmlhttp;
}
it works on FF Opera Safari but not IE.. now i tried
http://www.w3schools.com/php/php_ajax_database.asp on my IE and it works (the example) there works..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|