| checked | ใช้กำหนดสถานะการ checked ให้กับ button โดยจะใช้ได้กับ type คือ radio หรือ button เท่านั้น |
|---|
config:checked
value:boolean
content:เป็น configuration attribute ของ button โดยจะใช้กำหนดสถานะการ checked ให้กับ button โดยจะใช้ได้กับ type คือ radio หรือ button เท่านั้น ( default value คือ false )
example:var attributes = { type: "radio", checked: true }; var radio_button = new YAHOO.widget.Button ( "radioButton", attributes );