| replaceLabel | ใช้กำหนด replaceLabel ให้กับ button |
|---|
config:replaceLabel
value:boolean
content:เป็น configuration attribute ของ button โดยจะใช้กำหนด replaceLabel ให้กับ button ( default value คือ false )
example:var attributes = { type: "push", name: "submit_button", replaceLabel: true }; var button = new YAHOO.widget.Button ( "button", attributes );