<script> $(document).ready(function() { $("#contacts-search").contact_autocomplete(baseurl + '/search/acl', 'a', true); }); </script>