title: How Can I Do to my textbox autocomplete, works
body: <p>I'm trying to do an autocomplete to my textbox, but it doesn't work. Follow my code.</p>
  
  <pre><code>    $(function () {
  
      var credenciada = '&lt;%= credenciadaId %&gt;';
  
      xml_NomeCompleto = "";
      var Nomes = "";
      var retorno = '';
      var count = 0;
      var t = '';
      $.ajax({
          url: "../Xml/AcessoExterno.aspx?Credenciada=" + credenciada,
          type: "get",
          dataType: 'xml',
          async: false,
          success: function (data) {
  
              $(data).find("REGISTRO").each(function () {
                  t = $(this).find("NOMECOMPLETOUSUARIO").text();
                  Nomes += ["\"" + t + "\","];
              });
          }
      });
      $("#ctl00_contentConteudo_txtNome").autocomplete({ source: Nomes });
  });
  </code></pre>
  
  <p>The variable 't' receives all the names of my users, normally, but the autocomplete don't work.</p>