src code

instance property Ajax.Response#readyState

Ajax.Response#readyState → Number

A Number corresponding to the request's current state.

0 : "Uninitialized"
1 : "Loading"
2 : "Loaded"
3 : "Interactive"
4 : "Complete"