An event handler must be attached to the request object to update the PROGRESS element on the page. You need to ensure that the status of the upload is displayed in the progress bar. Which line of code should you insert at line 03?
A. xhr.upload.onloadeddata =
B. xhr.upload.onplaying =
C. xhr.upload.onseeking =
D. xhr.upload.onprogress =
Answer:D
An event handler must be attached to the request object to update the PROGRESS element on the page. You need to ensure that the status of the upload is displayed in the progress bar. Which line of code should you insert at line 03?
A. xhr.upload.onloadeddata = B. xhr.upload.onplaying = C. xhr.upload.onseeking = D. xhr.upload.onprogress =