Câu 27: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3
You develop an HTML5 application that allows users to upload files from their local computers. The user interface must remain responsive during the upload. You need to implement the file upload functionality for the application. Which two actions should you perform? (Each correct answer presents a complete solution. C…
Nội dung câu hỏi
You develop an HTML5 application that allows users to upload files from their local computers. The user interface must remain responsive during the upload. You need to implement the file upload functionality for the application. Which two actions should you perform? (Each correct answer presents a complete solution. Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Use an HTML form with a file type INPUT element that targets a hidden IFRAME element.
- B. Use a file type INPUT element, and then use the Web Storage API to upload the file. — đáp án hiện tại
- C. Use a FormData object and upload the file by using XMLHttpRequest.
- D. Register the file protocol by using protocol handler registration API and then upload the file by using XMLHttpRequest. — đáp án hiện tại
- E. Use the FileSystem API to load the file, and then use the jQuery post method to upload the file to the server.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.