Search w3schools.com:

SHARE THIS PAGE

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


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]