相关考题
-
单项选择题
想要获取到select元素内被选中的option元素,以下书写正确的是()。
A.$("select").filter("option:selected")
B.$("select").find("option:selected")
C.$("select").is("option:selected")
D.$("select").has("option:selected") -
单项选择题
jQuery中的加号选择器相当于以下哪个方法?()
A.next()
B.siblings()
C.nextAll()
D.prev() -
单项选择题
在鼠标事件中,获取鼠标相对于当前窗口可视区域的纵坐标位置,以下代码正确的是()。
A.event.offset().top
B.event.clientY
C.event.offsetTop
D.event.pageY
