PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.5)

Exam 70-480: Programming in HTML5 with JavaScript and CSS3 (updated March 01st, 2017)

Which code segment should you use?

You are developing an application that consumes an external web service that returns the latest stock rate.
The application has two methods:
The getResults() method makes an AJAX web service request The ShowRate() method displays the stock rate from the web service response
You need to ensure that the ShowRate() method always displays the latest stock rate.
Which code segment should you use?

Which line of code should you use?

You are developing a web page that consumes a Windows Communication Foundation (WCF) service. The page includes the following code segment.
var xhr = new XMLHttpRequest() ;
The page uses the xhrHandler() method to listen for changes to the request status of the WCF service calls. It uses the xmlToJavaScript() method to convert the
response from the WCF service to a JavaScript object.
The xhrHandler() method must be called automatically each time the request status changes.
You need to add the event handler to the request object.
Which line of code should you use?


Page 10 of 24« First...89101112...20...Last »