hel"> hel" />
ID:43442134
大小:81.01 KB
页数:9页
时间:2019-10-03
4、“move()”,20)意味着A、每隔20秒,move()函数就会被调用一次B、每隔20分钟,move()函数就会被调用一次C、每隔20毫秒,move()函数就会被调用一次D、move()函数被调用20次6.在jQuery中,如果想要从DOM中删除所有匹配的元素,下面选项中正确的是:A.remove()B.removeAll()C.empty()D.delete()7.dom.html页面有如下代码:
5、.text());弹出框上显示的内容为:A.分别弹出hellojQuery和hellojQueryB.分别弹出hellojQuery和hellojQueryC.分别弹出hellojQuery和hellojQueryA.分别弹出hellojQuery和hellojQuery8.在jQuery中$('#hello').css("color","#ff0000")$('#hello').css("color")分别表示的含义是:(选择两项)A.$('#hello').css("colo
6、r","#ff0000")表示选择id为hello的元素,并设置颜色为"#ff0000"B.$('#hello').css("color")表示选择id为hello的元素,并且取到该元素字体显示的颜色C.$('#hello').css("color","#ff0000")表示选择CSS类为hello的元素,并且取到该元素字体显示的颜色D.$('#hello').css("color")表示选择CSS类为hello的元素,并且取到该元素字体显示的颜色9.请看下列html,css和jQuery代码片段:html代码如下:
7、le>.s1{width:100px;height:100px;background-color:red;}.s2{background-color:yellow;}jQuery代码如下:$(function(){$('div').hover(function(){$(this).addClass('s2');},function(){$(this).removeClass('s2');});});以上代码在浏览器上显示的效果是:A.连续点击div上以
此文档下载收益归作者所有