THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery :checkbox Selector

jQuery Selectors 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 jQuery Selectors