nerdexam
Microsoft

70-515 · Question #74

A Web service returns a list of system users in the following format. <xml version="1.0" > <users> <user id="first"> <name>Name of first user</name> <email>[email protected]</email> </user> <user…

The correct answer is C. $.ajax({. See the full explanation below for the reasoning.

Question

A Web service returns a list of system users in the following format. <xml version="1.0" > <users> <user id="first"> <name>Name of first user</name> <email>[email protected]</email> </user> <user id="second"> <name>Name of second user</name> <email>[email protected]</email> </user> </users> You need to populate a drop-down menu with the IDs and names of the users from the Web service, in the order provided by the service. Which code segment should you use?

Options

  • A$.ajax({
  • B$.ajax({
  • C$.ajax({
  • D$.ajax({

How the community answered

(20 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    80% (16)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice