This error TypeError: document.getelementbyid(…) is null would seem to indicate that there is no such element with an ID passed to getElementById() exist. This can happen if the JavaScript code is executed before the page is fully loaded, so its not able to find the element. The solution is that you need to put your JavaScript code after the closure of the HTML element or more generally before < /body > tag.
J
Save
Saving
jacobhalls
@jacobhalls
0
Reputation
1
Posts
419
Profile views
0
Followers
0
Following
Posts made by jacobhalls
-
RE: Onsen UI v2, stopped working document.getElementById("id")