src code

instance method Element#select

Element#select(selector...) → [Element…]
  • selector (String) – A CSS selector.

Takes an arbitrary number of CSS selectors and returns an array of descendants of element that match any of them.

Aliased as: Element#getElementsBySelector

This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.