Form buttons accept the following methods:
enable
$('[type='submit']').button('enable');
disable
$('[type='submit']').button('disable');
refresh
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');