The jQuery library harnesses the power of Cascading Style Sheets (CSS) selectorsto let us quickly and easily access elements or groups of elements in the Document Object Model (DOM). In this chapter, we will explore a few of these selectors, as well as jQuery's own custom selectors. We'll also look at jQuery's DOM traversalmethodsthat provide even greater flexibility for getting what we want.
jquery使用css选择器让我们快速而容易的接触到DOM结构中的元素或者一组元素。在这一章中,我们将探索这些选择器中的一部分和jquery自己的选择器。我们也将查案jquery提供了更加灵活的让我们获取我们想要的东西的DOM遍历方法。