回答編集履歴

1

2015/02/18 03:49

投稿

kodama_h
kodama_h

スコア28

test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- [https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.autocomplete.js#L241](https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.autocomplete.js#L241)
5
+ https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.autocomplete.js#L241
6
6
 
7
7
 
8
8
 
@@ -14,21 +14,17 @@
14
14
 
15
15
 
16
16
 
17
- ```lang-javascript
18
-
19
17
  $("#searchform-input").autocomplete({
20
18
 
21
- select: function (a, b) {
19
+ select: function (a, b) {
22
20
 
23
- $(this).val(b.item.value);
21
+ $(this).val(b.item.value);
24
22
 
25
- $(".searchform1").submit()
23
+ $(".searchform1").submit()
26
24
 
27
- }
25
+ }
28
26
 
29
27
  });
30
-
31
- ```
32
28
 
33
29
 
34
30