easy Autocomplete

easy Autocomplete

hi you all.
i've read this jquery ui document:
https://jqueryui.com/autocomplete/

 
<script>
$(function() {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
    
"Scheme"
];
$( "#tags" ).autocomplete({
source: availableTags
});
});
</script>




it's very easy... but a question: how can i insert in the select also the value?