Perhaps most powerful is the find function, which allows you to use a jQuery selector to search through the descendants of elements in your jQuery object.
find函数或许是功能最强大的函数,它允许使用jQuery选择器搜索jQuery对象中元素的后代元素。
The Adapter base classes send the Adapter-specific Record object to the Function Selector.
Adapter基类将Adapter特定的Record对象发送到函数选择器。
The $() function returns a jQuery object containing all the elements that match the CSS selector.
$()函数返回一个含有所有与CSS 选择器匹配的元素的jQuery对象。
This function typically accepts a CSS selector as its sole parameter, and serves as a factory, returning a new jQuery object pointing to the corresponding elements on the page.
这个函数典型的接受一个css选择器作为他的基础的元素,然后作为一个工厂放回一个指向网页上相应元素的的新的jquery对象。
As mentioned in Chapter 1, Getting Started, when we call methods of a jQuery object, the elements referred to by the selector we passed to $()are looped through automatically and implicitly.
正如第一章:入门指南中介绍的那样,当我们调用jquery对象的方法的时候,我们传递给$()的选择器选中的对象将会自动隐式的循环。
As mentioned in Chapter 1, Getting Started, when we call methods of a jQuery object, the elements referred to by the selector we passed to $()are looped through automatically and implicitly.
正如第一章:入门指南中介绍的那样,当我们调用jquery对象的方法的时候,我们传递给$()的选择器选中的对象将会自动隐式的循环。
应用推荐