teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

書式の改善

2019/11/09 08:01

投稿

kkhaa
kkhaa

スコア10

title CHANGED
File without changes
body CHANGED
@@ -9,10 +9,10 @@
9
9
  Uncaught TypeError: Cannot set property 'defaultValue' of null
10
10
 
11
11
  ### 該当のソースコード
12
-
12
+ ```html
13
13
  <input type="hidden" name="lat" id="lat">
14
- <input type="hidden" name="lng" id="lng">
14
+ <input type="hidden" name="lng" id="lng">
15
- <input type="hidden" name="location" id="location">
15
+ <input type="hidden" name="location" id="location">
16
16
 
17
17
  <script>
18
18
  function initMap() {
@@ -89,6 +89,10 @@
89
89
  }
90
90
  </script>
91
91
 
92
+ ```
93
+
94
+
95
+
92
96
  ### 試したこと
93
97
 
94
98
  inputのvalueに設定する手前で、alertを用いて取得出来ているか確認。