THE INDIA LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery :text Selector

jQuery Selectors 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 jQuery Selectors