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="maskedtextbox" value="(889) 333-666" />

<script type="text/javascript">
jQuery(function($) {
    var maskedTextBox = $("#maskedtextbox").shieldMaskedTextBox({
        mask: "(000) 000-000"
    }).swidget();

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

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

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