I had trouble using the native autocomplete provided in JQuery UI: the
autocomplete list would not attach to the <input> element where the entry
occurred, but rather, it would attach to the "window" in general. Closer
inspection revealed errors in the execution of JQuery UI.
I solved the errors by including version 1.8.24 of JQuery UI, not the
1.8.18 version that is the default in layout.html.
I am mentioning this in case it can save other people's time.
Actual lines I used:
<link rel="stylesheet"
href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/themes/base/jquery-ui.css"
type="text/css" media="all" />
<script
src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js"
type="text/javascript"></script>
Luca
--