单项选择题
定义一个jQuery插件函数正确的写法是()。
A.$.fn.demo=function(){}
B.$.exent("demo")
C.$.event="demo"
D.$.demo
点击查看答案
相关考题
-
单项选择题
的打印结果是()。
A.pic
B.undefined
C.img
D.程序报错 -
单项选择题
想要获取到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()
