Runs when the readystate property changes.
Syntax
HRESULT onreadystatechange(void);
C/C++ Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The event handler can be set by explicitly setting the onreadystatechange property.
This member is an extension of the W3C DOM.