Methods In Ajax engine objects:
-
- Abort () stops the current request
-
- GetAllResponseHeaders () returns the complete headers as a string.
-
- GetResponseHeader ("headerlabel") returns a single header label as a string
-
- Open ("method", "url" [, asyncflag [, "username" [, "password"])Create a call to the server. The method parameter can be get, post, or put, and the URL parameter can be relative URL or absolute URL.
- Send (content)Send a request to the server
-
- SetRequestHeader ("Header", "value") sets the specified header to the provided value,You must call open () before setting any header ()
Attributes in the aaja engine object
-
- Onreadystatechange event trigger
- Readystate object status (integer)
-
- 0 = not initialized 1 = reading 2 = read 3 = interaction 4 = completed
-
- The text version of the data returned by the responsetext server process
-
- ResponsexmlXML document objects compatible with Dom returned by Server Processes
-
- Status Code returned by the Status server, such as: 404 = "file not found", 200 = "successful"
- StatustextStatus text returned by the server
Use ajax to request servers
Method to use the Ajax Engine
Common Browser Interaction
Ajax interaction in browsers