Jquery ui でコンボボックスを実現したいのですが、
ここに書かれている通りにすると
Uncaught TypeError: $(...).combobox is not a function ```とエラーがでます。 jquery ui(Autocomplete) のバージョンはv1.11.4です。 jquery uiを読み込んで上記URLの通りにする以外に何か準備があるのでしょうか? 以下補足です。 Jquery uiの非圧縮のソースを見たのですが、comboboxなる記述は、11132行目あたりの ```ここに言語を入力 // Create button this.button = $( "<span>", { "class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all", tabindex: this.options.disabled ? -1 : 0, id: this.ids.button, role: "combobox", "aria-expanded": "false", "aria-autocomplete": "list", "aria-owns": this.ids.menu, "aria-haspopup": "true" }) .insertAfter( this.element ); ```ここにしか登場しません。 公式の https://jqueryui.com/autocomplete/#combobox にある通り記述した方が良さそうですね。
回答4件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。