destroy

The destroy() method destroys the instance of the TextBox widget.


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