destroy

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

<input id="picker"></input>

<script type="text/javascript">
    $(function () {
        $("#picker").shieldDatePicker({
            enabled: false
        });

        $("#picker").swidget().destroy();

    });

</script>