minLength

The minimum number of characters the user must type before a search occurs. Defaults to 2.

Use 0 for local data and where you are sure the searches will be performed fast.


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

<script type="text/javascript">

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

</script>