Mohammed Khalil
Mohammed Khalil

Reputation: 21

using jquery UI autocomplete with external Json

How can I use jquery UI autocomplete widget with https://www.w3schools.com/js/customers_mysql.php for example

Upvotes: 1

Views: 86

Answers (1)

maxuville
maxuville

Reputation: 531

You can find the answer here: https://jqueryui.com/autocomplete/

But it basically says that you do something like:

$( function() { 
    $( "#id" ).autocomplete({
        source: "https://www.w3schools.com/js/customers_mysql.php",
        minLength: 2
    });
});

Upvotes: 1

Related Questions