nerdexam
Microsoft

70-515 · Question #73

You create a Web page that contains the span shown in the following line of code. <span id="span1">Text</span> You need replace the contents of the span with HTML that you download from a URL…

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

Question

You create a Web page that contains the span shown in the following line of code. <span id="span1">Text</span> You need replace the contents of the span with HTML that you download from a URL specified by a global variable named localURL. Which code segment should you use?

Options

  • A$.ajax({
  • B$.ajax(localURL, {},
  • C$.ajax({
  • D$.ajax({

How the community answered

(53 responses)
  • A
    9% (5)
  • B
    4% (2)
  • C
    8% (4)
  • D
    79% (42)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice