autocomplate just open, not work

autocomplate just open, not work

Hi. Before, sorry my english not enought. I make this but just open list not a decompose.Is why?

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.   <meta charset="utf-8">
  5.   <title>autocomplete demo</title>
  6.   <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
  7.   <script src="//code.jquery.com/jquery-1.10.2.js"></script>
  8.   <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
  9. </head>
  10. <body>
  11.  
  12. <label for="autocomplete">Select a programming language: </label>
  13. <input id="autocomplete">
  14.  
  15. <script>
  16. $( "#autocomplete" ).autocomplete({
  17.   source: "test.php"
  18.   
  19. });
  20. </script>
  21.  
  22. </body>
  23. </html>
and test.php

  1. [ "ActionScript",
  2.       "AppleScript",
  3.       "Asp",
  4.       "BASIC",
  5.       "C",
  6.       "C++",
  7.       "Clojure",
  8.       "COBOL",
  9.       "ColdFusion",
  10.       "Erlang",
  11.       "Fortran",
  12.       "Groovy",
  13.       "Haskell",
  14.       "Java",
  15.       "JavaScript",
  16.       "Lisp",
  17.       "Perl",
  18.       "PHP",
  19.       "Python",
  20.       "Ruby",
  21.       "Scala",
  22.       "Scheme"
  23. ]
link


Thanks.