Giriş Onay Kutusu türü Özellik
Örnek
Onay kutusunun hangi tür form öğesi olduğunu öğrenin:
var x = document.getElementById("myCheck").type;
Tanım ve Kullanım
type özelliği, onay kutusunun hangi tür form öğesi olduğunu döndürür.
Bir onay kutusu için bu özellik her zaman "onay kutusu" döndürür.
Tarayıcı Desteği
Property | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
checkboxObject.type
Geri dönüş değeri
Type | Description |
---|---|
String | The type of form element the checkbox is |
❮ Onay Kutusu Nesnesini Girin