Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

ajax autocomplete populated

$
0
0

I have an autocomplete ajax script (see below) how do I populate the list from a recordset?

 <script>
        $(function() {
        var availableTags = [
        "435451", "430002", "3430003", "6760004", "73405","56766"  <-- must populate this list dynamically  from  database  there are 900 rows and added each day bThis list cannot be static it must be dynamic only.
 ];
        $( "#itemID" ).autocomplete({
        source: availableTags
        });
        });
 </script>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>