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)- A9% (5)
- B4% (2)
- C8% (4)
- D79% (42)
Community Discussion
No community discussion yet for this question.