tuanbs

tuanbs

  • NA
  • 23
  • 102.7k

How to pass a column in a table of database into autocomplete plugin of JQuery?

Oct 10 2009 6:28 AM

Please look at following code:
<script>
  $(document).ready(function(){
    var data = "Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" ");
$("#example").autocomplete(data);
  });
  </script>

Data in above code is a array. Now I want data is a column in table or a dataset. Then how do I write code in page .aspx to achieve it. Please don't use JSon + MVC because I use .NET 2.0. Help me. Thanks you very much.

Answers (4)