【单选题】复合选择器的使用方法是_____
A. $(“#Id”) B. $(“selector1,selector2,selectorN”) C. $(“element”) D. $(“.class”)
A. $(“#Id”) B. $(“selector1,selector2,selectorN”) C. $(“element”) D. $(“.class”)
举一反三
- $('selector1,selector2…selectorN');是______选择器的语法。
- 下面jQuery选择器中不属于层次选择器的是() A: parent>child B: element C: prev+next D: selector selector1
- 复合选择器的语法规则是() A: $("selector1.selector2.selector3") B: $("selector1:selector2:selector3") C: $("selector1,selector2,selector3") D: $("selector1;selector2;selector3")
- Selectors commonly used in css: id selector, class selector and tag selector, and their priority is_________ __ _____.
- 使用$(selector1, selector2, selectorN)可以同时选取网页中的多个HTML元素。