enabled

The enabled method has two modes of operation.
1. If you call it without any arguments, it will return a Boolean value, specifying if the control is enabled.
2. If you pass a Boolean value to the method, it will apply it to the control and either enable or disable it.

These are demonstrated in the sample below:

<input id="slider" value="30" />

<script type="text/javascript">
jQuery(function($) {
    var slider = $("#slider").shieldSlider({
        step: 10
    }).swidget();

    //alert whether the control is enabled
    alert(slider.enabled());

    //this will disable the control
    slider.enabled(false);

    //alert whether the control is enabled
    alert(slider.enabled());
});
</script>