Search w3schools.com:

SHARE THIS PAGE

jQuery :checkbox Selector

jQuery Selectors jQuery Selectors

Example

Select all <input> elements with type="checkbox":

$(":checkbox")

Try it yourself »

Definition and Usage

The :checkbox selector selects input elements with type=checkbox.


Syntax

$(":checkbox")


jQuery Selectors jQuery Selectors


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]