回答編集履歴

2

追記

2020/02/16 21:18

投稿

kyoya0819
kyoya0819

スコア10429

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  $('option').eq(0).remove();
26
26
 
27
- $('#board').append('<select>'+now.toString()+'</select>');
27
+ $('select').append('<select>'+now.toString()+'</select>');
28
28
 
29
29
  }
30
30
 

1

追記

2020/02/16 21:18

投稿

kyoya0819
kyoya0819

スコア10429

test CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  ```HTML
4
4
 
5
- <table id=board>
5
+ <select id=board>
6
6
 
7
- <tr><td>aiueo</td></tr>
7
+ <option>aiueo</option>
8
8
 
9
- <tr><td>aiueo</td></tr>
9
+ <option>aiueo</option>
10
10
 
11
- </table>
11
+ </select>
12
12
 
13
13
  <button onclick=next()>next</button>
14
14
 
@@ -22,9 +22,9 @@
22
22
 
23
23
  var now = new Date();
24
24
 
25
- $('tr').eq(0).remove();
25
+ $('option').eq(0).remove();
26
26
 
27
- $('#board').append('<tr><td>'+now.toString()+'</td></tr>');
27
+ $('#board').append('<select>'+now.toString()+'</select>');
28
28
 
29
29
  }
30
30