欢迎来到财会考试题库网 财会考试题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-515)

单项选择题

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); } });

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题