destroy

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

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

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

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

</script>