getElementById()

By: Dusty Arlia
Published on Saturday, June 22, 2013, 09:19 AM
Last Updated on Friday, July 10, 2015 at 12:13 AM
Total Updates: 2

The getElementById() method is a JavaScript method of the document object. It references the first element with the indentifier specified between the parentheses. Here is an example:

document.getElementById("first_name")

Comments:

Ad: