| target | ใช้กำหนด target ให้กับ button ( สามารถใช้ได้กับ type แบบ link เท่านั้น ) |
|---|
config:target
value:string
content:เป็น configuration attribute ของ button โดยจะใช้กำหนด target ให้กับ button ( สามารถใช้ได้กับ type แบบ link เท่านั้น )
example:var attributes = { type: "link", href: "http://www.bamboolabcode.com", label: "website", target: "_blank" }; var link_button = new YAHOO.widget.Button ( "button", attributes );