AJAX browsers
Opera 8.0+, Firefox, Safari, Netscape 7
To create an AJAX object in these browsers, the XMLHttpRequest object is used.
Example:
<script type="text/javascript"> ajaxObject = XMLHttpRequest(); </script>
Internet Explorer
To create an AJAX object in this browser, the ActiveXObject is used.
Example:
<script type="text/javascript">
ajaxObject = new ActiveXObject("Msxml2.XMLHTTP");
//and if the above does not work we will use.....
ajaxObject = new ActiveXObject("Microsoft.XMLHTTP");
</script>




