Keyboard down arrow with typeahead

0

In typeahead in Jquery, how do I make the search suggestion just only selected down ?

>
$(document).ready(function () {
        $('#search').typeahead({
            source: function (query, result) {
                $.ajax({
                    url: "server.php",
                    data: 'query=' + query,            
                    dataType: "json",
                    type: "POST",
                    success: function (data) {
                        result($.map(data, function (item) {
                            return item;
                        }));
                    }
                });
            }
        });
    
asked by anonymous 02.05.2018 / 16:33

0 answers