質問編集履歴

2

文書の追記

2018/03/01 03:52

投稿

Shohei6452
Shohei6452

スコア7

test CHANGED
File without changes
test CHANGED
@@ -6,13 +6,21 @@
6
6
 
7
7
 
8
8
 
9
+ HTML,Javascript共に初心者でわからないことばかりで、とんちんかんな質問をしていたら申し訳ないです。
10
+
11
+
12
+
9
13
  ### 発生している問題・エラーメッセージ
10
14
 
11
15
 
12
16
 
13
17
  ```
14
18
 
19
+ TypeError: null is not an object (evaluating 'page.querySelector('#push-button').onclick = function() {
20
+
21
+ document.querySelector('#navigator').pushPage('setting.html');
22
+
15
- エラーメッセージ
23
+ }')
16
24
 
17
25
  ```
18
26
 
@@ -184,7 +192,13 @@
184
192
 
185
193
 
186
194
 
195
+ Onsen UI V2 JS Navigetionのテンプレートを参考にして作りました。
196
+
187
- ここに問題に対して試したことを載しください。
197
+ Javascriptの述はそのまま持っきてます
198
+
199
+
200
+
201
+ また、ons-navigetorの[ドキュメントに書かれている例](https://ja.onsen.io/v1/reference/ons-navigator.html)のようにつくっても上手くいきません。
188
202
 
189
203
 
190
204
 

1

コードの記載ミス

2018/03/01 03:51

投稿

Shohei6452
Shohei6452

スコア7

test CHANGED
File without changes
test CHANGED
@@ -170,7 +170,13 @@
170
170
 
171
171
  </body>
172
172
 
173
- </html>```
173
+ </html>
174
+
175
+
176
+
177
+ ``````
178
+
179
+ ```
174
180
 
175
181
 
176
182