document.getElementById is not a function in your program.
This tutorial explains what this error means and because it is relieved. We will look at an example of this error so that you can learn what you need to know to fix it.
document.getElementById is not a function
This method is used to manipulate the content of an element or retrieve information about a particular element, such as its content or attributes.
IDs are defined in HTML. An ID must be unique for a particular element:
has the id
top_header. This ID is unique to the
. IDs are often used for styling particular elements using CSS .
document. getElementById () is case sensitive . This method is: