The slider plugin has the following methods:
enable
$('.selector').slider('enable');
disable
$('.selector').slider('disable');
refresh
If you manipulate a slider via JavaScript, you must call the refresh method on it to update the visual styling.
$('.selector').slider('refresh');