You need to verify that an XmlHttpRequest has completed in JavaScript. What should you do?
A. Create an event handler for the onreadystatechange event
B. explicitytly set the Request header to a different HTIP action
C. explicitly set Request header to accept JSON
D. check textStatus for a timeout