destroy

The enabled() method, called without any parameters, will return the current enabled state of a Calendar element.
The destroy() method destroys the instance of the Calendar widget.


<div id="calendar" ></div>

<script type="text/javascript">
    $(function () {
        $("#calendar").shieldCalendar({
        });
    });

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

</script>