| titleChange() | เป็นการกำหนดให้ function ทำงาน เมื่อ มีการเปลี่ยนแปลง คุณสมบัติ title ของ button |
|---|
method:titleChange ( event )
return type:void
content:เป็นการกำหนดให้ function ทำงาน เมื่อ มีการเปลี่ยนแปลง คุณสมบัติ title ของ button
example:var attributes = { label: "One" }; var checkbox_button = new YAHOO.widget.Button ( "checkbutton", attributes ); checkbox_button.titleChange.subscribe ( function ( event ) { alert ( "title change" ); } );