| container | ใช้กำหนด container ให้กับ button |
|---|
config:container
value:HTMLElement, String ที่เป็นค่า id ของ container
content:เป็น configuration attribute ของ button โดยจะใช้กำหนด container ให้กับ button ( default value คือ null )
example:var attributes = { container: "container_radio" }; var radio_button = new YAHOO.widget.Button ( "radioButton", attributes );