This function allows us to change parts of
the HTML.
document.getElementByID()
method returns the
element that has the ID attribute with the
specified value.
getElementById()
in the HTML DOM, and is used almost
every time you want to manipulate, or get
info from, an element on your document.
document.getElementByID( )
method displays an alert box
with a specified message and an OK
button.
alert(“”)
is often used if you want to
make sure information comes through to
the user.
alert box