Selecting elements with getElementById - JavaScript: Enhancing the DOM Video Tutorial | LinkedIn Learning, formerly Lynda.com
![Aditya on Twitter: "•Searching: document.getElementById or just id: If an element has the id attribute, we can get the element using the method document.getElementById(id), no matter where it is. #javascript #100DaysOfCode https://t.co/3oLlOqvjTd" / Aditya on Twitter: "•Searching: document.getElementById or just id: If an element has the id attribute, we can get the element using the method document.getElementById(id), no matter where it is. #javascript #100DaysOfCode https://t.co/3oLlOqvjTd" /](https://pbs.twimg.com/media/FLQHHaxaUAAWmdk.jpg)
Aditya on Twitter: "•Searching: document.getElementById or just id: If an element has the id attribute, we can get the element using the method document.getElementById(id), no matter where it is. #javascript #100DaysOfCode https://t.co/3oLlOqvjTd" /
![javascript - Why does console.log(document.getElementById( 'blah' ))) give different log messages in Chrome? - Stack Overflow javascript - Why does console.log(document.getElementById( 'blah' ))) give different log messages in Chrome? - Stack Overflow](https://i.stack.imgur.com/dlRhw.png)