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


SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: