enabled

When called with one argument, enabled(index) returns a boolean result, indicating whether the tab referenced by the provided zero-based index is enabled or not.

Calling the method with two arguments - enabled(index, boolEnable) - will set the enabled state of the referenced tab.

NOTE: When a tab is not enabled, it will not be able to be selected and activated neither with the mouse, nor by the keyboard.

<div id="tabs">
    <ul>
        <li>One</li>
        <li>Two</li>
    </ul>
    <div>Tab Pane 1</div> 
    <div>Tab Pane 2</div>
</div>

<script type="text/javascript">
    $(function () {
        $("#tabs").shieldTabs();

        // disable the second tab
        $("#tabs").swidget().enabled(1, false);
    });
</script>