THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery :checked Selector

jQuery Selectors jQuery Selectors

Example

Select all checked elements (checkboxes or radio buttons):

$(":checked")
Try it yourself »

Definition and Usage

The :checked selector selects all checked checkboxes or radio buttons.


Syntax

$(":checked")

jQuery Selectors jQuery Selectors