單項選擇題以下添加鍵盤事件代碼正確的是()。

A.$(document).bind("keyup")
B.$(document).bind("mouseup")
C.$(document).bind("click")
D.$(document).on("load")


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題定義一個jQuery插件函數(shù)正確的寫法是()。

A.$.fn.demo=function(){}
B.$.exent("demo")
C.$.event="demo"
D.$.demo

2.單項選擇題

的打印結(jié)果是()。

A.pic
B.undefined
C.img
D.程序報錯

3.單項選擇題想要獲取到select元素內(nèi)被選中的option元素,以下書寫正確的是()。

A.$("select").filter("option:selected")
B.$("select").find("option:selected")
C.$("select").is("option:selected")
D.$("select").has("option:selected")

4.單項選擇題jQuery中的加號選擇器相當于以下哪個方法?()

A.next()
B.siblings()
C.nextAll()
D.prev()

5.單項選擇題在鼠標事件中,獲取鼠標相對于當前窗口可視區(qū)域的縱坐標位置,以下代碼正確的是()。

A.event.offset().top
B.event.clientY
C.event.offsetTop
D.event.pageY