Example

Select all input elements with type="checkbox":

$(":checkbox")

Try it yourself »

Definition and Usage

The :checkbox selector selects input elements with type=checkbox.

Syntax

$(":checkbox")