回答編集履歴

2

表現の修正

2018/05/06 00:44

投稿

think49
think49

スコア18164

test CHANGED
@@ -44,11 +44,7 @@
44
44
 
45
45
  `TAB_2` の定義はHTMLに依存しています。
46
46
 
47
- HTML上に `<div id ="TAB_2">` が存在しない為、**ReferenceError**になっています。
48
-
49
-
50
-
51
- - [https://jsfiddle.net/SiRO4t6a/do2wb9qu/](https://jsfiddle.net/SiRO4t6a/do2wb9qu/)
47
+ HTML上に[https://jsfiddle.net/SiRO4t6a/do2wb9qu/](https://jsfiddle.net/SiRO4t6a/do2wb9qu/)では存在していた `<div id ="TAB_2">` が消失している為、**ReferenceError**になっています。
52
48
 
53
49
 
54
50
 

1

getElementById

2018/05/06 00:44

投稿

think49
think49

スコア18164

test CHANGED
@@ -56,6 +56,8 @@
56
56
 
57
57
 
58
58
 
59
+ - [document.getElementById - Web API インターフェイス | MDN](https://developer.mozilla.org/ja/docs/Web/API/Document/getElementById)
60
+
59
61
  - [jQuery() | jQuery API Documentation](https://api.jquery.com/jQuery/#jQuery-selector-context)
60
62
 
61
63