the code sets the variable
access to the result of calling the
getElementById method and passing it “code9”. What gets returned is an element object.
- 6. Interacting with Your Web Page: Getting to know the DOM
- Publisher: O'Reilly Media, Inc.
- Released: March 2014
How to use getElementById method on a document (which is a webpage object) to get an HTML element?