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

单项选择题

You create a Web page that contains the following div.  

  You have a JavaScript array named imageurls that contains a list of image URLs. You need to write a JavaScript function that will insert images from the URLs into target. Which code segment should you use?()
    A.$(imageurls).each(function(i,url){ $("", url).append("#target"); });
    B.$(imageurls).each(function(i,url){ $("#target") += $("").attr("src", url); });
    C.$.each(imageurls, function(i,url){ $("").attr("src", url).appendTo("#target"); });
    D.$.each(imageurls, function(i,url){$("#target").append("").src = url; });
点击查看答案

相关考题

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

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