Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

jQuery :password Selector

❮ 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