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