質問編集履歴

3

内容調整

2019/05/31 00:04

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -64,6 +64,10 @@
64
64
 
65
65
 
66
66
 
67
+ }
68
+
69
+
70
+
67
71
  }
68
72
 
69
73
  ```

2

内容調整

2019/05/31 00:03

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
  target=document.getElementById("city");
56
56
 
57
- var option_add=document.createElementBytagname("option");
57
+ var option_add=document.createElement("option");
58
58
 
59
59
  option_add.setAttribute("value", i);
60
60
 

1

内容調整

2019/05/30 23:55

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -52,9 +52,9 @@
52
52
 
53
53
  for(var i = 0; i< city.length; i++){
54
54
 
55
- target=document.getElement("city");
55
+ target=document.getElementById("city");
56
56
 
57
- var option_add=document.createElement("option");
57
+ var option_add=document.createElementBytagname("option");
58
58
 
59
59
  option_add.setAttribute("value", i);
60
60