質問編集履歴

1

2019/06/02 04:10

投稿

koikogarey
koikogarey

スコア52

test CHANGED
File without changes
test CHANGED
@@ -66,7 +66,7 @@
66
66
 
67
67
  <p>何回かカウント</p>
68
68
 
69
- <p>カウント回数: <span id="ikuiku">0</span></p>
69
+ <p>カウント回数: <span id="countsample">0</span></p>
70
70
 
71
71
  <div><input type="button" value="カウント" onclick="CountUp();"></div>
72
72
 
@@ -78,7 +78,7 @@
78
78
 
79
79
  function CountUp() {
80
80
 
81
- document.getElementById( "ikuiku" ).innerHTML = ++kaisu;
81
+ document.getElementById( "countsample" ).innerHTML = ++kaisu;
82
82
 
83
83
  }
84
84