title: jQuery UI autocomplete is not working
body: <p>This is my JavaScript code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  //&lt;![CDATA[
  $(document).ready(function() {
      $("input#suggestZams").autocomplete({
          source: "content/prevadzky/zam/zam_json2.php?letter=all",
          minLength: 1,
          delay: 0,
          select: function(event, ui) {
              alert(1);
          }
      });
  });
  //]]&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>This is my HTML:</p>
  
  <pre><code>&lt;input id="suggestZams" class="input" size="10" /&gt;
  </code></pre>
  
  <p>The URL <code>zam_json2.php?letter=all</code> returns this json:</p>
  
  <pre><code>[
  { "id": "31440", "value": "Andrej\u010d\u00e1k, Ing." },
  { "id": "31690", "value": "Alexovi\u010d , Ing." },
  { "id": "31796", "value": "Antoni\u010d , Ing." },
  { "id": "31989", "value": "Antolik , Ing." },
  { "id": "32010", "value": "Ambrozov\u00e1 RNDr., PhD." },
  { "id": "32014", "value": "Aksam\u00edt" },
  { "id": "32024", "value": "Angelovi\u010d" },
  { "id": "32102", "value": "Andrej\u010d\u00e1k" },
  { "id": "32168", "value": "Avukov\u00e1 , Ing." },
  { "id": "32177", "value": "Andr\u00e1\u0161" },
  { "id": "32181", "value": "Andrej\u010d\u00e1kov\u00e1 , Mgr." },
  { "id": "32403", "value": "Arend\u00e1\u0161 , Bc." },
  { "id": "47379", "value": "An\u010fal" },
  { "id": "47399", "value": "Adam\u00edk , Ing." },
  { "id": "50022", "value": "Abo\u0161i" },
  { "id": "50085", "value": "Armer\u00eda Olmedo , Ing." },
  { "id": "53468", "value": "Anto\u0161" },
  { "id": "54837", "value": "Adamec , Ing." },
  { "id": "56659", "value": "Apostolou" },
  { "id": "57820", "value": "Alez\u00e1r" },
  { "id": "58576", "value": "Andrej\u010d\u00e1k , Bc." },
  { "id": "58587", "value": "Aronov\u00e1 , Ing." },
  { "id": "58595", "value": "Abaffy , Bc." },
  { "id": "58607", "value": "Adamec , Bc." },
  { "id": "58643", "value": "Antu\u0161 , Ing." },
  { "id": "62277", "value": "Adam\u010d\u00e1k , Mgr." },
  { "id": "62379", "value": "Andruch" },
  { "id": "63415", "value": "Adamkovi\u010d , Ing." }
  ]
  </code></pre>