LinkButton

Override defaults with $.fn.linkbutton.defaults.

Usage Example

  1. <a href="#" id="btn" iconCls="icon-search">easyui</a>  
  1. $('#btn').linkbutton({  
  2.     plain:true  
  3. });  
  4. $('#btn').linkbutton('disable');    // disable the button  
  5. $('#btn').linkbutton('enable');     // enable the button  

Properties

Name Type Description Default
id string The id attribute of this component. null
disabled boolean True to disable the button false
plain boolean True to show a plain effect. false
text string The button text. ''
iconCls string A CSS class to display a 16x16 icon on left. null

Methods

Name Parameter Description
options none Return options property.
disable none Disable the button
enable none Enable the button