jQuery :text Selector
THE WORLD'S LARGEST WEB DEVELOPER SITE

jQuery :text Selector

❮ jQuery Selectors

Example

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

$(":text")
Try it Yourself »

Definition and Usage

The :text selector selects input elements with type=text.


Syntax

$(":text")

❮ jQuery Selectors