src code
Ajax.Response#readyState → Number
The request's current state.
0 corresponds to "Uninitialized", 1 to "Loading", 2 to "Loaded", 3 to "Interactive", and 4 to "Complete".
0
"Uninitialized"
1
"Loading"
2
"Loaded"
3
"Interactive"
4
"Complete"