Дочерний селектор (“parent > child”)


Содержание:

child selector

Описание: Selects all direct child elements specified by "child" of elements specified by "parent".

  • Добавлен в версии: 1.0jQuery( "parent > child" )

    parent: Any valid selector.

    child: A selector to filter the child elements.

The child combinator (E > F) can be thought of as a more specific form of the descendant combinator (E F) in that it selects only first-level descendants.