相关考题
-
单项选择题
在jQuery中,有代码片段下列选项中能正确绑定单击事件的是()。
A.$(“input[name=event_1]”).bind(“click”,function(){})
B.$(“input[name=event_1]”).click(“click”,function(){})
C.$(“input[name=event_1]”).onBlind(“click”,function(){})
D.$(“input[name=event_1]”).onClick(“click”,function(){}) -
单项选择题
在JQuey中,给元素绑定事件(如click事件)的方法为()。
A.toggle()
B.change()
C.click()
D.on() -
单项选择题
在jQuery中,解除文本输入框绑定的获取焦点事件,下列选项正确的是()。
A.$(“input[type=text]”).unbind(“mouseover”)
B.$(“input”).unbind(“focus”)
C.$(“input[type=text]”).unbind(“focus”)
D.$(“input[type=text]”).unbind(“blur”)
