Includes CSS selector support to improve test speed in ie.
包括CSS选择器支持,以改善在IE中的测试速度。
The $() function returns a jQuery object containing all the elements that match the CSS selector.
$()函数返回一个含有所有与CSS 选择器匹配的元素的jQuery对象。
You first get a reference to the unordered list from Listing 3 by passing a CSS selector to jQuery.
您首先可以通过向jQuery传递一个CSS选择器从清单3中获取这个无序列表的一个引用。
At this point, you know how to create a new QueryPath object pointing to a document, and you've also seen a simple CSS selector.
至此,您知道了如何创建新的指向文档的QueryPath对象,并且看到了一个简单的css选择器。
It also calls its implementation query and, as before, you give it a CSS selector and it gives you a collection (see Listing 4).
它也调用它的查询实现,同上面一样,您给它一个CSS选择器,它就返回一个元素集(如清单4所示)。
The CSS selector or an array of selectors to try. The first selector that is found is returned.
CSS选择器或是一组选择器去尝试。被发现的第一个选择器被返回。
This function accepts a string containing a CSS selector which is then used to match a set of elements.
这个函数接收一个CSS选择器的字符串,然后用这个字符串去匹配一组元素。
This function accepts a string containing a CSS selector which is then used to match a set of elements.
这个函数接收一个包含CSS选择器的字符串,然后用这个字符串去匹配一组元素。
This function accepts a string containing a CSS selector which is then used to match a set of elements.
这个函数接收一个用来匹配一组元素的含有CSS选择器的字符串。
Essentially, you create a "query" on a particular CSS selector, and you get back a collection of elements that match that criterion.
本质上就是,您在一个特定的CSS选择器上创建一个“查询”,就能够得到一个匹配该条件的元素集。
Of course, normal CSS selector rules apply, and you can exploit them to apply different styles to the same widget type depending on its context.
当然,普通的CSS选择器规则也可以应用,所以可以根据小部件的上下文,用选择器规则在同一小部件上应用不同的样式。
We use id attributes mainly for layout and class attributes, for repeated elements, or elements we know will be hard to identify using a CSS selector.
对于布局,我们主要使用ID属性;对于重复的元素或者使用CSS选择器难以识别出的元素,使用class属性。
We use id attributes mainly for layout and class attributes, for repeated elements, or elements we know will be hard to identify using a CSS selector.
对于布局,我们主要使用ID属性;对于重复的元素或者使用CSS选择器难以识别出的元素,使用class属性。
应用推荐