teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

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

2017/03/01 05:52

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -53,14 +53,22 @@
53
53
 
54
54
  ```html
55
55
  <td nowrap="nowrap">
56
- <div class="select2-container select2-container-multi .multiple" id="s2id_autogen103" style="width: 100%;"><ul class="select2-choices">
57
- <li class="select2-search-field">
58
- <label for="s2id_autogen104" class="select2-offscreen"></label>
59
- <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>
60
- <div class="select2-drop select2-drop-multi select2-display-none"><ul class="select2-results">
61
- <li class="select2-no-results">No matches found</li></ul></div></div><select class="multiple select2-offscreen" multiple="multiple" tabindex="-1">
62
- <option value="1">選択肢1</option>
63
- <option value="2">選択肢2</option>
64
- </select>
56
+ <div class="select2-container select2-container-multi .multiple" id="s2id_autogen103" style="width: 100%;">
57
+ <ul class="select2-choices">
58
+ <li class="select2-search-field">
59
+ <label for="s2id_autogen104" class="select2-offscreen"></label>
60
+ <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" id="s2id_autogen104" tabindex="0" placeholder="" style="width: 10px;">
61
+ </li>
62
+ </ul>
63
+ <div class="select2-drop select2-drop-multi select2-display-none">
64
+ <ul class="select2-results">
65
+ <li class="select2-no-results">No matches found</li>
66
+ </ul>
67
+ </div>
68
+ </div>
69
+ <select class="multiple select2-offscreen" multiple="multiple" tabindex="-1">
70
+ <option value="1">選択肢1</option>
71
+ <option value="2">選択肢2</option>
72
+ </select>
65
73
  </td>
66
74
  ```

3

修正

2017/03/01 05:52

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -44,4 +44,23 @@
44
44
  検討が付きません。
45
45
  どうか詳しい方いたらお願いいたします。
46
46
  ちょっと突貫で書いてしまった部分が多いので分かり辛いかもしれませんが、
47
- ご教授お願いいたします。
47
+ ご教授お願いいたします。
48
+
49
+
50
+ 『追記』
51
+ 業務で使ってるものなので名前は変えましたが
52
+ だいたいこのような形です。
53
+
54
+ ```html
55
+ <td nowrap="nowrap">
56
+ <div class="select2-container select2-container-multi .multiple" id="s2id_autogen103" style="width: 100%;"><ul class="select2-choices">
57
+ <li class="select2-search-field">
58
+ <label for="s2id_autogen104" class="select2-offscreen"></label>
59
+ <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>
60
+ <div class="select2-drop select2-drop-multi select2-display-none"><ul class="select2-results">
61
+ <li class="select2-no-results">No matches found</li></ul></div></div><select class="multiple select2-offscreen" multiple="multiple" tabindex="-1">
62
+ <option value="1">選択肢1</option>
63
+ <option value="2">選択肢2</option>
64
+ </select>
65
+ </td>
66
+ ```

2

url追記

2017/03/01 05:51

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,8 +1,11 @@
1
1
  やりたい内容としまして、
2
2
  現在、検索結果の一覧として表示されるもののカラムの中に
3
3
  jqueryのプラグインのselect2のマルチプルを使用した欄があり
4
- [select2](https://select2.github.io/)
5
4
 
5
+ [select2の配布サイト](https://select2.github.io/)
6
+ 上記のサイトのExamplesにある、Multiple select boxesというのを
7
+ そのまま使っているようです。
8
+
6
9
  それらを別で用意したマルチプルの同じ内容の選択肢で
7
10
  チェックボックスでチェックを入れたレコードにだけ反映させる事をしたいです。
8
11
 

1

URLの追記

2017/03/01 05:35

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,7 @@
1
1
  やりたい内容としまして、
2
2
  現在、検索結果の一覧として表示されるもののカラムの中に
3
3
  jqueryのプラグインのselect2のマルチプルを使用した欄があり
4
+ [select2](https://select2.github.io/)
4
5
 
5
6
  それらを別で用意したマルチプルの同じ内容の選択肢で
6
7
  チェックボックスでチェックを入れたレコードにだけ反映させる事をしたいです。