An AJAX Class: To use AJAX (Asynchronous JavaScript and XML) in a better way

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 = [...]

JavaScript utility popup boxes for better user interaction

JavaScript utility popup boxes for better user interaction:
 

Alert Box – JavaScript pop up to display any information or error messages to the user.As JavaScript is a client side scripting language we can use this alert box to interact with the user.You can raise the alert message through some events or it can be used in [...]