I have the following code:
<script>
$(document).ready(function() {
$(function() {
var availableTags = [
{model_ref}
];
$( "#model" ).autocomplete({
source: availableTags
});
});
});
How can I get this to populate the input from expression engine entries?