THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery :password Selector

jQuery Selectors jQuery Selectors

Example

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

$(":password")
Try it yourself »

Definition and Usage

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


Syntax

$(":password")

jQuery Selectors jQuery Selectors