jQuery :text Selector

Example

Select <input> elements with type="text":

$(':text')

Try It Yourself

Definition and Usage

:text selector selects <input> elements of type text.

Syntax

$(':text')