HTML DOM Alan Kümesi Nesnesi
Alan Kümesi Nesnesi
Fieldset nesnesi, bir HTML <fieldset> öğesini temsil eder.
Bir Fieldset Nesnesine Erişme
getElementById() kullanarak bir <fieldset> öğesine erişebilirsiniz:
Örnek
var x = document.getElementById("myFieldset");
İpucu: Fieldset nesnesine , bir formun öğe koleksiyonunda arama yaparak da erişebilirsiniz .
Fieldset Nesnesi Oluşturun
Document.createElement() yöntemini kullanarak bir <fieldset> öğesi oluşturabilirsiniz:
Örnek
var x = document.createElement("FIELDSET");
Alan Kümesi Nesne Özellikleri
Property | Description |
---|---|
disabled | Sets or returns whether a fieldset is disabled, or not |
form | Returns a reference to the form that contains the fieldset |
name | Sets or returns the value of the name attribute of a fieldset |
type | Returns which type of form element the fieldset is |
Standart Özellikler ve Etkinlikler
Fieldset nesnesi ayrıca standart özellikleri ve olayları da destekler .
İlgili Sayfalar
HTML öğreticisi: HTML Formları
HTML referansı: HTML <fieldset> etiketi