JQuery 1.9 API update

Aspects of the API that were changed in the corresponding version of jQuery. Changes in jQuery 1.9 dealt primarily removal or modification of several APIs that behaved inconsistently or inefficiently in the past. A jQuery Migrate Plugin was offered to help developers with a transitional upgrade path.

.css() in: Manipulation > Style Properties

Get the value of a style property for the first element in the set of matched elements or set one or more CSS properties for every matched element.

.finish() in: Effects > Custom

Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.

:first-of-type Selector in: Selectors > Child Filter

Selects all elements that are the first among siblings of the same element name.

:lang Selector in: Selectors > Basic Filter

Selects all elements of the specified language.

:last-of-type Selector in: Selectors > Child Filter

Selects all elements that are the last among siblings of the same element name.

:nth-last-child() Selector in: Selectors > Child Filter

Selects all elements that are the nth-child of their parent, counting from the last element to the first.

:nth-last-of-type() Selector in: Selectors > Child Filter

Selects all elements that are the nth-child of their parent, counting from the last element to the first.

:nth-of-type() Selector in: Selectors > Child Filter

Selects all elements that are the nth child of their parent in relation to siblings with the same element name.

:only-of-type Selector in: Selectors > Child Filter

Selects all elements that have no siblings with the same element name.

:root Selector in: Selectors > Basic Filter

Selects the element that is the root of the document.

:target Selector in: Selectors > Basic Filter

Selects the target element indicated by the fragment identifier of the documents URI.

2017-12-07
YouTube Twitter GitHub