| toString() | ใช้คืนค่า ข้อความที่อธิบายเกี่ยวกับ buttonGroup |
|---|
method:toString ( )
return type:string
content:ใช้คืนค่า ข้อความที่อธิบายเกี่ยวกับ buttonGroup
example:var attributes = { name: "button-group", disabled: false }; var group_button = new YAHOO.widget.ButtonGroup ( "bgroup", attributes ); group_button.addButtons ( [ { label: "Radio 1", value: "1", checked: true }, { label: "Radio 2", value: "2" }, { label: "Radio 3", value: "3" } ] ); alert ( group_button.toString ( ) );