READ Free Dumps For Microsoft- 70-480
Question ID 14950 | You are developing an application that analyzes population data for major cities in the
United States. The application retrieves population statistics for a city by using a web
service.
You need to request data from the web service by using jQuery.
Which code segment should you use?
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | D |
Explanation Explanation: * type: We post a SOAP request. * data: Data to be sent to the server. The data option can contain either a query string of the form key1=value1&key2=value2, or an object of the form {key1: 'value1', key2: 'value2'}. Reference: jQuery.ajax()
Question ID 14951 | You develop a webpage that consumes a web service. The web service provides currency
exchange rates. Visitors enter the currency type on the webpage and press the Submit
button.
The web service returns the current exchange rate.
You need to ensure that the webpage always displays the most current information.
How should you complete the relevant code? (To answer, select the appropriate option
from each drop-down list in the answer area.)
|
Option A |
Use ajax technology (json is for the datatype). Disable the cache as the most recent data must be displayed.
|
Correct Answer | A |
Explanation