質問編集履歴

2

さらに追記

2016/02/16 04:06

投稿

nobuzoh
nobuzoh

スコア196

test CHANGED
File without changes
test CHANGED
@@ -59,3 +59,11 @@
59
59
  .insertAfter( this.element );
60
60
 
61
61
  ```ここにしか登場しません。
62
+
63
+
64
+
65
+ 公式の
66
+
67
+ https://jqueryui.com/autocomplete/#combobox
68
+
69
+ にある通り記述した方が良さそうですね。

1

補足

2016/02/16 04:06

投稿

nobuzoh
nobuzoh

スコア196

test CHANGED
File without changes
test CHANGED
@@ -21,3 +21,41 @@
21
21
 
22
22
 
23
23
  jquery uiを読み込んで上記URLの通りにする以外に何か準備があるのでしょうか?
24
+
25
+
26
+
27
+
28
+
29
+ 以下補足です。
30
+
31
+
32
+
33
+ Jquery uiの非圧縮のソースを見たのですが、comboboxなる記述は、11132行目あたりの
34
+
35
+ ```ここに言語を入力
36
+
37
+ // Create button
38
+
39
+ this.button = $( "<span>", {
40
+
41
+ "class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all",
42
+
43
+ tabindex: this.options.disabled ? -1 : 0,
44
+
45
+ id: this.ids.button,
46
+
47
+ role: "combobox",
48
+
49
+ "aria-expanded": "false",
50
+
51
+ "aria-autocomplete": "list",
52
+
53
+ "aria-owns": this.ids.menu,
54
+
55
+ "aria-haspopup": "true"
56
+
57
+ })
58
+
59
+ .insertAfter( this.element );
60
+
61
+ ```ここにしか登場しません。