Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery :input Selector

jQuery :input Selector

jQuery selector jQuery selector

Example

Select all input elements:

$(":input")

Try it »


Definition and Usage

The :input selector selects form elements.

This selector also applies to button elements.


Syntax

$(":input")


jQuery selector jQuery selector