Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

jQuery | :password Selector

  • Last Updated : 22 Feb, 2019

The :password Selector is used to select the input element having password field . i.e (type==password)




<!DOCTYPE html>
    <script src=
      $(document).ready(function() {
        <h1 style="color:green;">
        <h2>jQuery :password Selector
        <form action="">
            <input type="text"
            <br> Password:
            <input type="password" 
            <input type="reset" 
            <input type="submit"


Supported Browsers: The browser supported by jQuery :password Selector are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!