单项选择题
jQuery的语法是什么样子的()
A.$(selector).action()
B.¥(selector).action()
C.$().action()
D.$(selector)
点击查看答案
相关考题
-
单项选择题
有以下标签:请问不能够正确的获取文本框里面的值“张三”的语句是()
A.$("#txtContent").attr("value")
B.$(".txt").attr("value")
C.$(".txt").val()
D.$("#txtContent").text() -
多项选择题
在jquey中,如果想要从DOM中删除匹配元素或内容,下面哪一个是正确的()
A.remove
B.empty
C.detach
D.before -
多项选择题
在jQuery中$( #hello ).css ( "color","#f00000" )$( #hello ).css ( "color" )分别表示的含义是()
A.$(‘#hello’).css("color",#0000)表示选择id为hello 的元素,并设置颜色为"f00000"
B.$(’#hello’).css ("color"")表示选择id为hello 的元素,并且取到该元素字体显示的颜色
C.$(‘#hello’)css("color""f00000")表示选择CSS类为hello的元素,并且取到该元素字体显示的颜色
D.$(’hello’)css("color")表示选择CSS类为hello 的元素,并且取到该元素字休显示的颜色
