Answers for "autocomplete data selected validation jquery"

0

autocomplete data selected validation jquery

$(function () {
    $("#auto").autocomplete({
        source: ['Afghanistan', 'Australia', 'Denmark', 'Sweden', 'France', 'Greece', 'Iraq'],
        change: function (event, ui) {
            if (!ui.item) {
                this.value = '';
            }
        }
    });
});
Posted by: Guest on January-15-2021

Code answers related to "autocomplete data selected validation jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language