Фильтрация



The first() method returns the first element of the selected elements.

The last() method returns the last element of the selected elements.

The eq() method returns an element with a specific index number of the selected elements.
Возвращает элемент из набора по его индексу (индексы начинаются с нуля)

The filter() method lets you specify a criteria. Elements that do not match the criteria are removed from the selection, and those that match will be returned.
В качестве фильтра задается селектор - тег, класс, id и тд.

The not() method returns all elements that do not match the criteria.
Tip: The not() method is the opposite of filter().

@темы: jQuery, jQuery Учебка