用 $.fn.linkbutton.defaults 重寫了 defaults。

用法示例
1. <a href="#" id="btn" iconCls="icon-search">easyui</a>
1. $('#btn').linkbutton({
2. plain:true
3. });
4. $('#btn').linkbutton('disable'); // 禁用此 button
5. $('#btn').linkbutton('enable'); // 啟用此 button
特性
名稱
類型
說明
預設值
id
string
元件的 id 屬性。
null
disabled
boolean
True 就禁用按鈕。
false
plain
True 就顯示一個簡單的效果。
text
按鈕的文字。
''
iconCls
在左邊顯示一個16x16 圖示的CSS 類。
方法
參數
options
none
傳回選項(options)特性。
disable
禁用按鈕。
enable
啟用按鈕。