XMLHttpRequest object is used to exchange the data with the server without loading the whole page.
XMLHttpRequest is supported by all new browser.
Those who do not support, support ActiveXObject.
For declaring in the code
if (window.XMLHttp.request)
{
xhttp = new XMLHttpRequest();
}
else
{
// for those which do not support
xhttp = new ActiveXObject("Microsoft.XMLHTTP);
0 Comment(s)