Tutorials References Menu

jQuery :checkbox Selector

❮ jQuery Selectors

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")

❮ jQuery Selectors