0
Is document.getElementbyId a thing here? I keep getting errors saying it isnt a method/function.
2 Réponses
+ 4
getElementById
Notice the "By" here uses uppercase letter 'b'
+ 4
Also, try wrapping your JS in:
window.onload = function () {
document.getElementById("element");
}