selectedItems

Return the underlying data items objects of the selected items:


<div id="listbox" ></div>
<script type="text/javascript">
    $(function () {
        $("#listbox").shieldListBox({
            dataSource: {
			    data: countries
		    },
            textTemplate: "{name}",
            valueTempate: "{id}"
        });
    });


    $("#listbox").swidget().selectedItems(); // return the countries objects from the datasource to which listbox is bound 

</script>