This is the standard Jquery Autocomplete code.
<script>
$(function() {
var availableTags = [
"JavaScript",
"C#",
"VB.NET",
"ASP.NET"
];
$( "#tags" ).autocomplete({
source: availableTags
});
});
</script>
Let's say I'm able to fill an HTML DOM (delimited text or a grid made of table/tr/td) with data through server-side (ASP.NET/PHP). How would it be possible to "read" through it and store it in "availableTags[]" for Jquery Autocomplete to use?
And if I hide (display:none; perhaps) this DOM Element, will Jquery still be able to "see" it?