JQuery UI Autocomplete with Zend Framework
问题 I was wondering about how to add the autocomplete JQuery UI widget to a form I'm developing in the Zend Framework without using ZendX. The folders for the website are set up per the framework, but I'm not using Zend_Form. So I stripped everything down to the simplest form, which works: <script> $(document).ready(function() { $("input#autocomplete").autocomplete({ source: ["best", "buy"] }); }); </script> <input id="autocomplete" /> But I have a PHP file that returns entries from a database in