[eluser]php beginner[/eluser]
this is my code working in mozilla but not working in IE
var xmlhttp;
if (window.XMLHttpRequest)
{
xmlhttp = new XMLHttpRequest();
}
else
{
try {
alert('try1');
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try
{
alert('try2');
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
alert('try3');
xmlhttp = false; } }
}