| name | ใช้ในการกำหนดค่า หรือคืนค่า name ของ hidden |
|---|---|
| id | ใช้ในการกำหนดค่า หรือคืนค่า id ของ hidden |
| type | ใช้ในการกำหนดค่า หรือคืนค่า type ของ hidden |
| value | ใช้ในการกำหนดค่า หรือคืนค่า value ของ hidden |
| defaultValue | ใช้ในการกำหนดค่า หรือคืนค่า default value ของ hidden |
| form | ใช้คืนค่า form element ของ hidden |
property:name;
return type:string, void
content:ใช้ในการกำหนดค่า หรือคืนค่า name ของ hidden
example:var tagHidden = document.getElementById ( "bamboo" ); alert ( tagHidden.name );
property:id;
return type:string, void
content:ใช้ในการกำหนดค่า หรือคืนค่า id ของ hidden
example:var tagHidden = document.getElementById ( "bamboo" ); alert ( tagHidden.id );
property:type;
return type:string, void
content:ใช้ในการกำหนดค่า หรือคืนค่า type ของ hidden
example:var tagHidden = document.getElementById ( "bamboo" ); alert ( tagHidden.type );
property:value;
return type:string, void
content:ใช้ในการกำหนดค่า หรือคืนค่า value ของ hidden
example:var tagHidden = document.getElementById ( "bamboo" ); alert ( tagHidden.value );
property:defaultValue;
return type:string, void
content:ใช้ในการกำหนดค่า หรือคืนค่า default value ของ hidden
example:var tagHidden = document.getElementById ( "bamboo" ); alert ( tagHidden.defaultValue );
property:form;
return type:form
content:ใช้คืนค่า form element ของ hidden
example:var tagHidden = document.getElementById ( "bamboo" ); alert ( tagHidden.form );