property:id;return type:string, voidcontent:ใช้ในการกำหนดค่า หรือคืนค่า id ของ checkboxexample:var tagCheckbox = document.getElementById ( "bamboo" ); alert ( tagCheckbox.id );