Yogesh Ghorpade

Yogesh Ghorpade

  • NA
  • 762
  • 148.2k

$(…).autocomplete is not a function

Jun 27 2019 4:42 AM
I Want To Create A Autocomplete Textbox Using J Query But i Got  The Error $(…).autocomplete is not a function
 
My Code Is 
 
<script src="~/Scripts/jquery.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<link href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" rel="Stylesheet" />
 
<script>
$(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"
];
$("#txtCustomerName").autocomplete({
source: availableTags
});
});
</script>
 

Answers (2)