refresh

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


<ul id="menu1">
    <li>Open</li>
	<li>Save</li>
	<li>Exit</li>
</ul>

<script type="text/javascript">

    $(function () {
        $("#menu1").shieldMenu({
             width: "100px"
        });

        var menu = $("#menu1").swidget();
        menu.refresh();
     });

</script>