Giriş Şifre tipi Özellik
Örnek
Parola alanının ne tür bir form öğesi olduğunu öğrenin:
var x = document.getElementById("myPsw").type;
Tanım ve Kullanım
type özelliği, bir parola alanının ne tür bir form öğesi olduğunu döndürür.
Bir parola alanı için bu özellik her zaman "parola" döndürür.
Tarayıcı Desteği
Property | |||||
---|---|---|---|---|---|
type | Yes | 10.0 | Yes | Yes | Yes |
Sözdizimi
passwordObject.type
Geri dönüş değeri
Type | Description |
---|---|
String | The type of form element the password field is |
❮ Parola Nesnesini Girin