visible

Called without any parameters, the visible() method returns true if the TextBox is currently visible and false otherwise.
Calling it with a boolean true or false parameter will show and hide the TextBox widget.


<input id="input" ></div>
<script type="text/javascript">
    $(function () {
        $("#input").shieldTextBox({
            enabled: false
        });
    });

    $("#input").swidget().visible(); // return true
 
    $("#input").swidget().visible(false) // hide the widget
 
    $("#input").swidget().visible(); // return false

</script>