Tutorials References Exercises Videos Menu
Paid Courses Website NEW Pro NEW

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