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

jQuery :text Selector

jQuery :text Selector

jQuery selector jQuery selector

Example

Select elements with type="text" element:

$(":text")

Try it »


Definition and Usage

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


Syntax

$(":text")


jQuery selector jQuery selector