题目内容

Query事件中,与javaScript中的onblur用法类似的是

A. blur
B. focus
C. onfocus
D. change()

查看答案
更多问题

下面不是焦点事件的是

A. blur()
B. focus()
C. onfocus
D. click()

jQuery中,将元素class值为info的单行文本框,绑定改变事件,当元素的内容发生改变的时候,该事件触发并为其添加背景色,下面代码书写正确的是

A. $(".info").change(function(){ $(this).css("backgrund-color","red")})
B. $(".info").onchange(function(){ $(this).css("backgrund-color","red")})
C. $(".info").hover(function(){ $(this).css("backgrund-color","red")})
D. $(".info").exchange(function(){ $(this).css("backgrund-color","red")})

jQuery中,用()获取当前元素前面的所有兄弟元素。

A. prevAll()
B. nextAll()
C. siblings()
D. children()

jQuery事件冒泡行为表现为当单击子元素时,会向上触发其()祖选元素的事件。

A. 兄弟元素
B. 子元素
C. 空元素
D. 父元素

答案查题题库