A. |
Create an XMLHttpRequest object, and call the open and send methods. |
B. |
Use the Level 2 events, such as onload, onloadstart, and onloadend. |
C. |
Respond to error events, or use try...catch statements. |
D. |
Use the setRequestHeader method. |
Answer: Option B
Explanation:
Use the one-off events to track request progress.Use the Level 2 events, such as onload, onloadstart, and onloadend.
|