Przewodnik do selektorów jQuery
Wybierz element <input> o atrybucie type="password":
$(':password')
Spróbuj sam
Selektor ':password' wybiera elementy <input> o typie 'password'.