THE BEST WEB DEVELOPER SITE

jQuery :checked Selector

❮ 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