refresh

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

<div id="accordion"></div>

<script type="text/javascript">
$(function () {
    $("#accordion").shieldAccordion({
        mode: 'multiple',
        dataSource: {
            data: [
                {
                    title: 'Perl',
                    content: 'A very good programming language'
                },
                {
                    title: 'C++',
                    content: 'Also very good for development'
                },
                {
                    title: 'JAVA',
                    content: 'Moderate stuff'
                }
            ]
        }
    });

    // call refresh
    $("#accordion").swidget().refresh();
});
</script>