質問編集履歴

2

誤字

2017/06/25 18:06

投稿

iemon
iemon

スコア16

test CHANGED
File without changes
test CHANGED
@@ -30,11 +30,11 @@
30
30
 
31
31
  <body>
32
32
 
33
- <input type="button" name="maru" value="◯" onClick="getPoint(1)">
33
+ <input type="button" name="maru" value="◯" onClick="getPoint(1), countPoint(1)">
34
-
34
+
35
- <input type="button" name="batu" value="✕" onClick="getPoint(2)">
35
+ <input type="button" name="batu" value="✕" onClick="getPoint(2), countPoint(2)">
36
-
36
+
37
- <input type="button" name="clear" value="clear" onClick="getPoint(3)">
37
+ <input type="button" name="clear" value="clear" onClick="getPoint(3), countPoint(3)">
38
38
 
39
39
  <br />
40
40
 
@@ -240,7 +240,7 @@
240
240
 
241
241
  if(btnNo == 1){
242
242
 
243
- document.getElementById(count1).textContent = countx;
243
+ document.getElementById("count1").textContent = countx;
244
244
 
245
245
  }else if(btnNo == 2){
246
246
 

1

左をA右をBとする

2017/06/25 18:06

投稿

iemon
iemon

スコア16

test CHANGED
File without changes
test CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  <tr>
44
44
 
45
- <td height = "60" width="35" rowspan="2"></td>
45
+ <td height = "60" width="35" rowspan="2">A</td>
46
46
 
47
47
  <td id="1" height = "30" width="16"></td>
48
48
 
@@ -74,7 +74,7 @@
74
74
 
75
75
  <td id="count1" height = "60" width="45" rowspan="2"></td>
76
76
 
77
- <td height = "60" width="35" rowspan="2"></td>
77
+ <td height = "60" width="35" rowspan="2">B</td>
78
78
 
79
79
  <td id="2" height = "30" width="16"></td>
80
80