checked selector
Description: Matches all elements that are checked or selected.
-
version added: 1.0jQuery( ":checked" )
The :checked
selector works for checkboxes, radio buttons, and options of select
elements.
To retrieve only the selected options of select
elements, use the :selected
selector.