可学答题网 > 问答 > MCTS(70-515)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You create a Web&#81


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); } })
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You create a WebQ

You create a Web page named TestPage.aspx and a user control named TestUserControl.ascx.&#819...

2、若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值

若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值为()A0B-1C1D2

3、You create a newQ

You create a new ASP.NET MVC 2 Web application. The following default routes are ...

4、You create a WebQ

You create a Web page named TestPage.aspx and a user control named contained in a...

5、现有int a,*b;,b=&a;,则下列运算错误的是

现有int a,*b;,b=&a;,则下列运算错误的是A*&aB&*aC*&bD&*b

6、若有定义语句:double a,+P=&;a;以下叙述中错误的是( )

若有定义语句:double a,+P=&a;以下叙述中错误的是( )。A定义语句中的*号是一个问址运算符B定义语句中的*号是一个说明符C定义语句中的P只能存放double类型变量的地址...