jquery
1コード 2<!DOCTYPE html> 3<html lang="ja" dir="ltr"> 4 <head> 5 <meta charset="utf-8"> 6 <title>TEST</title> 7 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> 8 </head> 9 <body> 10 <form class="" action="" method="post"> 11 <input type="text" id="text" value=""> 12 </form> 13 14 <script type="text/javascript"> 15 $(function(){ 16 var list = [ 17 'test', 18 'test2', 19 'test3', 20 ]; 21 $("#text").autocomplete({ 22 source:list 23 }); 24 }); 25 </script> 26 27 </body> 28</html>
このコードだと下記のようなエラーが出ます
Uncaught TypeError: $(...).autocomplete is not a function
どうすればエラーを改善できますか?

回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。