質問編集履歴

2

コードの修正\(ボタン追加\)

2017/04/11 08:03

投稿

hide09090909
hide09090909

スコア68

test CHANGED
File without changes
test CHANGED
@@ -61,6 +61,16 @@
61
61
  </tbody>
62
62
 
63
63
  </table>
64
+
65
+
66
+
67
+ <button type="submit" id="aaa"
68
+
69
+ name="bbb" class="cc"
70
+
71
+ style="color: #ffffff; background-color: #40b740; margin-top: 20px;">追加</button>
72
+
73
+
64
74
 
65
75
 
66
76
 
@@ -126,6 +136,14 @@
126
136
 
127
137
  </table>
128
138
 
139
+
140
+
141
+ <button type="submit" id="aaa"
142
+
143
+ name="bbb" class="cc"
144
+
145
+ style="color: #ffffff; background-color: #40b740; margin-top: 20px;">削除</button>
146
+
129
147
  ```
130
148
 
131
149
 

1

コード追加

2017/04/11 08:03

投稿

hide09090909
hide09090909

スコア68

test CHANGED
File without changes
test CHANGED
@@ -14,12 +14,120 @@
14
14
 
15
15
  ・表2に2行追加されている場合は、表1でbutton押下した際に、注意のダイアログを表示
16
16
 
17
+ ```ここに言語を入力
18
+
19
+ <table
20
+
21
+ class="sample"
22
+
23
+ style="margin-top: 50px" id="test2">
24
+
25
+ <thead>
26
+
27
+ <tr>
28
+
29
+
30
+
31
+ <th></th>
32
+
33
+ <th>ファイル名</th>
34
+
35
+ <th>時間</th>
36
+
37
+ </thead>
38
+
39
+ <tbody id="select">
40
+
41
+ <tr>
42
+
43
+ <td><input type="radio" name="check" value="check"></td>
44
+
45
+ <td>sample1</td>
46
+
47
+ <td>00:00:00</td>
48
+
49
+ </tr>
50
+
51
+ <tr>
52
+
53
+ <td><input type="radio" name="check" value="check"></td>
54
+
55
+ <td>sample2</td>
56
+
57
+ <td>00:00:00</td>
58
+
59
+ </tr>
60
+
61
+ </tbody>
62
+
63
+ </table>
64
+
65
+
66
+
67
+ ```
68
+
17
69
 
18
70
 
19
71
  ・表2
20
72
 
21
73
  ・表2に追加された行が1行以上存在する場合、チェックボックス選択後、button押下で表から削除。
22
74
 
75
+ ```ここに言語を入力
76
+
77
+ <div class="table-responsive cncList">
78
+
79
+ <table
80
+
81
+ class="sample"
82
+
83
+ id="test">
84
+
85
+ <thead>
86
+
87
+ <tr>
88
+
89
+ <th></th>
90
+
91
+ <th>ファイル名</th>
92
+
93
+ <th>時間</th>
94
+
95
+
96
+
97
+ </thead>
98
+
99
+ <tbody id="result">
100
+
101
+ <tr>
102
+
103
+ <td><input type="checkbox" name="checkbox" value="1"></td>
104
+
105
+ <td></td>
106
+
107
+ <td></td>
108
+
109
+
110
+
111
+ </tr>
112
+
113
+ <tr>
114
+
115
+ <td><input type="checkbox" name="checkbox" value="2"></td>
116
+
117
+ <td></td>
118
+
119
+ <td></td>
120
+
121
+
122
+
123
+ </tr>
124
+
125
+ </tbody>
126
+
127
+ </table>
128
+
129
+ ```
130
+
23
131
 
24
132
 
25
133
  以上です。よろしくお願いいたします。