官术网_书友最值得收藏!

What this book covers

Setting up jQuery (Must know) explains how to download and include jQuery in a web page and a good rule of thumb to choose between the two major jQuery branches, 1.X and 2.X.

The All selector (Must know) covers the All (or Universal) selector, to select all of the elements of a document.

Selecting by ID (Must know) introduces the ID selector and how jQuery manages it behind the scenes.

Selecting by class (Must know) describes the Class selector and how to optimize it for older browsers.

Selecting by tag (Must know) demonstrates the use of the Element selector and how you can use it in conjunction with other selectors.

Multiple selectors at once (Should know) shows how to use more than one selector in a single call.

Selecting by hierarchy (Must know) covers the hierarchy operators that allow you to retrieve elements by their relationship in the DOM.

Selecting by attributes (Should know) describes how many and what are the selectors to collect elements by their attributes.

Selecting by position using filters (Should know) introduces filters, and in particular those that allow to filter a collection using the elements' positions inside the collection itself.

Selecting from elements using filters (Should know) covers filters specific to form elements.

Child filters (Should know) describes filters to target node's children.

Other filters (Become an expert) shows the filters not covered in the previous recipes.

Custom filters (Become an expert) explains how to create a custom filter using two approaches.

Context matters (Should know) shows how to use the second parameter of the jQuery constructor in order to improve performance.

Improving performance re-using selected elements (Become an expert) demonstrates how to store a collection of previously selected elements in a variable for a later processing and how this method can improve performances.

Methods to filter collections (Become an expert) covers how many and what are the jQuery's methods to filter a collection.

Traversing DOM SubTrees (Become an expert) describes how many and what are the methods that can be applied to a collection, to find elements starting from a matched set.

How to have efficient selectors (Become an expert) explains tips and tricks to improve the performances of a website by simply selecting elements in the right way.

主站蜘蛛池模板: 商都县| 武威市| 卢龙县| 兴城市| 汕尾市| 玉门市| 晋州市| 浏阳市| 和硕县| 镇江市| 诏安县| 葵青区| 屏东市| 清徐县| 林西县| 额敏县| 神池县| 望都县| 平凉市| 信阳市| 河间市| 贵溪市| 木里| 彭泽县| 绵阳市| 宁城县| 嘉义县| 乌兰察布市| 新野县| 布拖县| 荥经县| 略阳县| 普格县| 普宁市| 乐都县| 鲜城| 金秀| 抚顺县| 文登市| 吉木萨尔县| 曲水县|