質問編集履歴

4

整形ツールで修正しました

2017/03/01 05:52

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -108,23 +108,39 @@
108
108
 
109
109
  <td nowrap="nowrap">
110
110
 
111
- <div class="select2-container select2-container-multi .multiple" id="s2id_autogen103" style="width: 100%;"><ul class="select2-choices">
111
+ <div class="select2-container select2-container-multi .multiple" id="s2id_autogen103" style="width: 100%;">
112
112
 
113
- <li class="select2-search-field">
113
+ <ul class="select2-choices">
114
114
 
115
- <label for="s2id_autogen104" class="select2-offscreen"></label>
115
+ <li class="select2-search-field">
116
116
 
117
- <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" id="s2id_autogen104" tabindex="0" placeholder="" style="width: 10px;"></li></ul>
117
+ <label for="s2id_autogen104" class="select2-offscreen"></label>
118
118
 
119
- <div class="select2-drop select2-drop-multi select2-display-none"><ul class="select2-results">
119
+ <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" id="s2id_autogen104" tabindex="0" placeholder="" style="width: 10px;">
120
120
 
121
- <li class="select2-no-results">No matches found</li></ul></div></div><select class="multiple select2-offscreen" multiple="multiple" tabindex="-1">
121
+ </li>
122
122
 
123
- <option value="1">選択肢1</option>
123
+ </ul>
124
124
 
125
- <option value="2">選択肢2</option>
125
+ <div class="select2-drop select2-drop-multi select2-display-none">
126
126
 
127
+ <ul class="select2-results">
128
+
129
+ <li class="select2-no-results">No matches found</li>
130
+
131
+ </ul>
132
+
133
+ </div>
134
+
135
+ </div>
136
+
137
+ <select class="multiple select2-offscreen" multiple="multiple" tabindex="-1">
138
+
139
+ <option value="1">選択肢1</option>
140
+
141
+ <option value="2">選択肢2</option>
142
+
127
- </select>
143
+ </select>
128
144
 
129
145
  </td>
130
146
 

3

修正

2017/03/01 05:52

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -91,3 +91,41 @@
91
91
  ちょっと突貫で書いてしまった部分が多いので分かり辛いかもしれませんが、
92
92
 
93
93
  ご教授お願いいたします。
94
+
95
+
96
+
97
+
98
+
99
+ 『追記』
100
+
101
+ 業務で使ってるものなので名前は変えましたが
102
+
103
+ だいたいこのような形です。
104
+
105
+
106
+
107
+ ```html
108
+
109
+ <td nowrap="nowrap">
110
+
111
+ <div class="select2-container select2-container-multi .multiple" id="s2id_autogen103" style="width: 100%;"><ul class="select2-choices">
112
+
113
+ <li class="select2-search-field">
114
+
115
+ <label for="s2id_autogen104" class="select2-offscreen"></label>
116
+
117
+ <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" id="s2id_autogen104" tabindex="0" placeholder="" style="width: 10px;"></li></ul>
118
+
119
+ <div class="select2-drop select2-drop-multi select2-display-none"><ul class="select2-results">
120
+
121
+ <li class="select2-no-results">No matches found</li></ul></div></div><select class="multiple select2-offscreen" multiple="multiple" tabindex="-1">
122
+
123
+ <option value="1">選択肢1</option>
124
+
125
+ <option value="2">選択肢2</option>
126
+
127
+ </select>
128
+
129
+ </td>
130
+
131
+ ```

2

url追記

2017/03/01 05:51

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,13 @@
4
4
 
5
5
  jqueryのプラグインのselect2のマルチプルを使用した欄があり
6
6
 
7
+
8
+
7
- [select2](https://select2.github.io/)
9
+ [select2の配布サイト](https://select2.github.io/)
10
+
11
+ 上記のサイトのExamplesにある、Multiple select boxesというのを
12
+
13
+ そのまま使っているようです。
8
14
 
9
15
 
10
16
 

1

URLの追記

2017/03/01 05:35

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -3,6 +3,8 @@
3
3
  現在、検索結果の一覧として表示されるもののカラムの中に
4
4
 
5
5
  jqueryのプラグインのselect2のマルチプルを使用した欄があり
6
+
7
+ [select2](https://select2.github.io/)
6
8
 
7
9
 
8
10