Easy Tutorial
❮ Event Ready Event Undelegate ❯

jQuery "Multiple Elements" Selector

jQuery Selectors

Example

Select all <h2>, <div>, and <span> elements:


Definition and Usage

The element selector can be used to select multiple elements.

Note: Separate each element with a comma.


Syntax

Parameter Description
element Required. Specifies the element to be selected.

Try It - Example

Select All Elements


jQuery Selectors

❮ Event Ready Event Undelegate ❯