You need to load data from the web service to the webpa…

DRAG DROP
You develop an HTML application that calls a web service to retrieve JSON data. The web service contains one
method named GetFullName that returns an Object named data. The data object contains two properties
named GivenName and Surname.
You need to load data from the web service to the webpage.How should you complete the relevant code? (To answer, drag the appropriate code segment or code
segments to the correct location or locations in the answer area. Use only code segments that apply.)
Select and Place:

DRAG DROP
You develop an HTML application that calls a web service to retrieve JSON data. The web service contains one
method named GetFullName that returns an Object named data. The data object contains two properties
named GivenName and Surname.
You need to load data from the web service to the webpage.How should you complete the relevant code? (To answer, drag the appropriate code segment or code
segments to the correct location or locations in the answer area. Use only code segments that apply.)
Select and Place:

Answer:

Explanation:
You can access object properties in two ways:
objectName.propertyName
or
objectName[propertyName]
JavaScript Objects



Leave a Reply 2

Your email address will not be published. Required fields are marked *


CasiProgramoMEXAPOWA

CasiProgramoMEXAPOWA

it is wrong the correct answer should be for fullName=res;

S

S

The web service contains one method named GetFullName that returns an Object named data. The data object contains two properties named GivenName and Surname.

The answer is correct.