A.$("li:eq(3)").css("background-color","red")B.$("li:lt(3)").css("background-color","red")C.$("li:not(:eq(3))").css("background-color","red")D.$("li:even").css("background-color","red")
单项选择题现在需要将div内的图片修改,下列说法正确的是()
A.$("img").attr("src","img/1.jpg")B.$("img").attr("src":"img/1.jpg")C.$("img").attr(src,img/1.jpg)D.$("img").attr(src:img/1.jpg)
单项选择题关于jQuery的活动效果,下列说法正确的是()
A.slideDown()是将元素向上滑动B.slideUp()是将元素向上滑动C.slideToggle()是将元素向下滑动D.slideUp()是将元素向下滑动
单项选择题关于选择器下标说法正确的是()
A.eq()是下标等于括号内的B.gt()是下标小于括号内的C.lt()是下标大于括号内的D.le()是大于括号内的
单项选择题下列选择器哪项用来选择序列中下标为偶数的元素()
A.gtB.ltC.oddD.even
单项选择题下列哪个不是Jquery的自创选择器()
A.eq选择器B.gt选择器C.no选择器D.lt选择器
单项选择题下列不是Jquery中的方法是()
A.text()B.value()C.html()D.css()
单项选择题下面四个选项中jquery的预加载方法哪种是错的()
A.$(document).ready(function(){代码})B.$().ready(function(){代码})C.$(document)(function(){代码})D.$(function(){代码})
多项选择题在DOM树形结构中下面是哪些是属性节点()。
A.href B.charset C.li D.text
多项选择题Ajax请求常见请求的数据类型是()。
A.JSON B.HTML C.js文件 D.XML文件
多项选择题show方法的动画速度参数下列说法正确的是()。
A.可以设置为数值100 B.可以设置为字符串"slow" C.可以设置为任意字符串 D.只能设置为数值