You can use the jQuery Ui autocomplete position
option; the option allows you to set the position of the suggestions list using the jQuery UI position utility.
Quick reference:
Identifies the position of the suggestions menu in relation to the
associated input element. The of option defaults to the input element,
but you can specify another element to position against. You can refer
to the jQuery UI Position utility for more details about the various
options.
Code:
$(function () {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"];
$("#tags").autocomplete({
source: availableTags,
position: {
my: "left bottom",
at: "left top",
}
});
});
Worging demo: http://jsfiddle.net/IrvinDominin/KQdg8/
Docs: http://api.jqueryui.com/autocomplete/#option-position