题目内容

You create a Web page that contains the span shown in the following line of code. TextYou 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?()

A. $.ajax({ type: "GET", url: localURL, dataType: "jsonp", success: function(htmlText { $("#span1").text(htmlText); } });
B. $.ajax( localURL, {}, function(htmlText) { $("#span1").html(htmlText); },"html" );
C. $.ajax({ type: "GET", url: localURL, dataType: "html",success: function(htmlText) { $("#span1").innerHTML = htmlText; }});
D. $.ajax({ type: "GET", url: localURL, success: function(htmlText) { $("#span1").html(htmlText); } })

查看答案
更多问题

简述汉字在历史发展过程中的功绩。

趸购转售电单位应服从电网的统一调度,按国家规定的电价向乡、村趸售

A. 正确
B. 错误

教育实践是教师在()和文化制约下的能动活动。

日本的陆军力量,是推动日苏关系正常化的一个政治势力。

A. 正确
B. 错误

答案查题题库