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.
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.