Button basics

Home

Button basics

Form buttons accept the following methods:

enable enable a disabled form button

$('[type='submit']').button('enable');			
				
disable disable a form button

$('[type='submit']').button('disable');			
				
refresh update the form button

If you manipulate a form button via JavaScript, you must call the refresh method on it to update the visual styling.

		
$('[type='submit']').button('refresh');