I've read all the post of the similar topic and tried all the code suggestions, but still cannot get my autocomplete to work with a json file. The page loads with the input box, but nothing autocompletes.
I have tried to go back to basics to figure this thing out. Starting with the code below - what do I need to do with source in order to get it to read the following large json data file and only autocomplete the product "name" (second key:value)?
<script src="//code.jquery.com/jquery-1.12.4.js"></script>
<script src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
``$( "#autocomplete" ).autocomplete({
source: [ "c++", "java", "php", "coldfusion", "javascript", "asp", "ruby" ]
});
</script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css">
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>autocomplete demo</title>
</head>
<body>
<label for="autocomplete">Select a programming language: </label>
<input id="autocomplete">
</body>
</html>