An AJAX Class: To use AJAX (Asynchronous JavaScript and XML) in a better way
Class: clsAjax.js
// JavaScript Document
/*
* This file creates the instance of xmlHttpRequest object, sends and
* receives the request and response respectively.
* @Author Udaybhanu Karmakar
*/
/*
* Static script to instantiate XMLHttp object for different browsers.
*/
function ServerXMLHTTPRequest()
{
this.clientHttpHandler = create();
this.httpMethod = “GET”;
this.serverUrl = [...]
Filed under: Basic Scripts, Scripts, ajax, javascript | Tagged: ActiveXObject, add user, ajax, ajax class, class, clientHttpHandler, Firefox, HttpHandler, httpMethod, javascript, mailing list, Microsoft.XMLHTTP, Mozila, Msxml2.XMLHTTP, Netscape, object, onreadystatechange, Opera, Response.write, Safari, window.createRequest, xml, xmlhttp, xmlhttprequest | Leave a Comment »
