Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TypeError: document.getElementbyId is not a function [closed]

Case sensitive: document.getElementById (notice the capital B).


JavaScript is case-sensitive. The b in getElementbyId should be capitalized.

var content = document.getElementById("edit").innerHTML;