title: The auto-complete box is not showing list on webpage
body: <p>I have put one textbox on webpage,which is autocomplete box.but when i write something in autocomplete textbox,it doesn't list anything even though it has list.While debugging the code,the list is generated by XML and it is showing on HTML page also,but it doesn't show in AutoComplete Box.</p>
  
  <pre><code>var lst_source = $("#tdStaffVolunteerList"); var lst_options = $("option", lst_source);
          $(document).ready(function() {
              $("#txtstaffvolunteerlist").autocomplete({
                  source: lst_options.map(function() {
                      return $(this).text();
                  }).get()
              });
          });
  </code></pre>
  
  <p>where 'txtstaffvolunteerlist' is autocomplete list under 'tdStaffVolunteerList'</p>