dataSource

A dictionary of data source settings to use for the possible auto-complete suggestions, which will be filtered and shown to the user while typing.

For more details about the DataSource format can be found here.


<input id="autocomplete"></input>

<script type="text/javascript">

     $(function () {
       $("#autocomplete").shieldAutoComplete({
            dataSource: {
                data: myData
            }
        });
    });

</script>