Only jquery autocomplete download
You can go to the All jQuery UI Downloads page and get the file with the source.
Then, in the ui
folder, you will see separate files for each module, including jquery.ui.autocomplete.js
.
I do not know how your files are organized in your project, but be aware that the autocomplete
module needs core
, widget
, position
and menu
in order to work. The first two must be loaded before autocomplete
.
Your code should look like this:
<script type="text/javascript" src="vendor/jquery-ui/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="vendor/jquery-ui/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="vendor/jquery-ui/js/jquery.ui.position.js"></script>
<script type="text/javascript" src="vendor/jquery-ui/js/jquery.ui.menu.js"></script>
<script type="text/javascript" src="vendor/jquery-ui/js/jquery.ui.autocomplete.js"></script>
Hope it helps!