Girdi Gizli tip Özellik
Örnek
Gizli giriş alanının hangi tür form öğesi olduğunu öğrenin:
var x = document.getElementById("myInput").type;
Tanım ve Kullanım
type özelliği, gizli giriş alanının ne tür bir form öğesi olduğunu döndürür.
Gizli bir nesne için bu her zaman "gizli" olacaktır.
Tarayıcı Desteği
Property | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
hiddenObject.type
Geri dönüş değeri
Type | Description |
---|---|
String | The type of form element the hidden input field is |
❮ Gizli Nesne Girin