jQuery :inputSelector

jQuery 选择器jQuery Selector

Examples

Select all input elements:

$(":input")

Try it Yourself »

Definition and Usage

The :input selector selects form elements.

This selector also applies to button elements.


Syntax

$(":input")


jQuery 选择器jQuery Selector

Other Extensions