refresh

The refresh() method reloads the current instance of the Button widget.
The optional parameter options gives the possibility to extend the initial options with the new ones.

<button id="but1" ></button>

<script type="text/javascript">

     $(function () {
        $("#but1").shieldButton({
        });
    });

    $("#but1").swidget().refresh();

</script>