THE WORLD'S LARGEST WEB DEVELOPER SITE

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