:checkbox
selectorThe jQuery :checkbox
selector is used to select all type=checkbox
elements. $( ":checkbox" )
is equivalent to $( "[type=checkbox]" )
:checkbox
selector Syntax$(':checkbox')
:checkbox
selector ExamplesIn below example,We will find all checkbox inputs and mark them.