Câu 78: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3
DRAG DROP -You create an HTML5 application that includes JavaScript. The application performs several AJAX requests. One AJAX request retrieves order information from a web service and then sends the information back to a webpage within the application. You must create a custom event. You have the following requiremen…
Nội dung câu hỏi
DRAG DROP -You create an HTML5 application that includes JavaScript. The application performs several AJAX requests. One AJAX request retrieves order information from a web service and then sends the information back to a webpage within the application. You must create a custom event. You have the following requirements: ✑ The webpage must contain an HTML element named ordersListing that will receive the custom event notification. ✑ The event name must be ordersReceived. ✑ The event must pass a custom value named orderCount. ✑ The event must run a JavaScript method named showOrdersReceivedCount after the orders Listing HTML element receives the event. ✑ Do not allow other DOM elements to receive the event. Allow the event to be cancelled. ✑ Send the event into the event system. You need to implement the custom event to notify specific DOM elements of the AJAX response. Which three actions should you perform in sequence? (Develop the solution by selecting the required code segments and arranging them in the correct order.)Select and Place:
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. Lựa chọn A bằng hình ảnh — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.