Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery :checked Selector

jQuery :checked Selector

jQuery selector jQuery selector

Example

Select all checked elements (checkboxes or radio buttons):

$(":checked")

Try it »


Definition and Usage

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


Syntax

$(":checked")


jQuery selector jQuery selector