- Sat Sep 24, 2016 5:33 pm
#786755
I'm triying to make textbox with autocomplete option like this example
https://jqueryui.com/autocomplete/
I load jquery ui references in external libs of dynamoforms and I think thats works because console doesn't warning with error "Uncaught TypeError: $(...).autocomplete is not a function"
But when I try to make this script doesn't do anything neither shows an error on console screen.
https://jqueryui.com/autocomplete/
I load jquery ui references in external libs of dynamoforms and I think thats works because console doesn't warning with error "Uncaught TypeError: $(...).autocomplete is not a function"
But when I try to make this script doesn't do anything neither shows an error on console screen.
Code: Select all
$(document).ready(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"
];
$("#txtCity").autocomplete({
source: availableTags
});
})