XMLHTTP States

Using AJAX you have an XMLHTTP object that has a "state." That state is a number and can be obtained by doing a xmlhttpobj.readyState. The list below is the explanations of what each of those states are.

0 - Uninitialized - open() has not been called yet.
1 - Loading - send() has not been called yet.
2 - Loaded - send() has been called, headers and status are available.
3 - Interactive - Downloading, responseText holds the partial data.
4 - Completed - Finished with all operations.


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.235.105.97
To prevent spam please submit by clicking the kitten: