jQuery DropDown Settings

The DropDown widget is initialized with the shield DropDown constructor, passing it a dictionary of settings as shown below:


<selectid="ddl" ></select>

<script type="text/javascript">

    $(function () {
        $("#ddl").shieldDropDown({
            dataSource: {
			    data: countries
		    },
		    textTemplate: "{name}",
		    valueTemplate: "{code}"
       });
    });

</script>

Details about all configuration settings can be found below.