jQuery :input Selector

jQuery Selectors jQuery Selectors

Example

Select all input elements:

$(":input")

Try it yourself »

Definition and Usage

The :input selector selects form elements.

This selector also works with the button element.


Syntax

$(":input")

jQuery Selectors jQuery Selectors


SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: