I am trying auto complete text using json file. But only last data is getting displayed. Can anyone tell me where I did mistake? autocomplete.json {"label" : "Aragorn","label" : "Arwen","label" : "Bilbo Baggins","label" : "Boromir","label" : "Frodo Baggins","label" : "Gandalf","label" : "Gimli","label" : "Gollum","label" : "Legolas","label" : "Meriadoc Merry Brandybuck","label" : "Peregrin Pippin Took","label" : "Samwise Gamgee"} index.html<html><body><div class="ui-widget"><input id="tags" /><script>$(function() {$( "#tags" ).autocomplete({source:"autocomplete.json"})});</script></div></body></html>