The enabled() method, called without any parameters, will return the current enabled state of a ProgressBar element.

The enabled(bool) method is used to update a ProgressBar's enabled/disabled state. Passing true will enable and false will disable the element.

<div id="progress1"></div>

<script type="text/javascript">

     $(function () {
            value: 30,
            text: {
                enabled: true,
                format: "{0} %"
            enabled: false

        $("#progress1").swidget().enabled(); // return false
        $("#progress1").swidget().enabled(true) // enable the widget
        $("#progress1").swidget().enabled(); // return true