Reputation: 851
I have an autocomplete input, but when I prompt something, the legend which says
"... results are available"
is shown just near the input, so the page looks bad :(. how to move this legend to the right for any amount of pixels I can set?
here is piece of code:
$("#myAutocomplete").autocomplete
({
source: res,
position: { my: "left+250 top" },
minLength: 1
});
documentation seems to have no answers :(
here is res object(for example):
var res = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
Upvotes: 0
Views: 408
Reputation: 46900
Add this
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
Upvotes: 1