
Named Element IDs Can Be Referenced as JavaScript Globals
Did you know that DOM elements with IDs are accessible in JavaScript as global variables? It’s one of those things that’s been around, like, forever but I’m
1 articles by Matteo Mazzarolo.

Did you know that DOM elements with IDs are accessible in JavaScript as global variables? It’s one of those things that’s been around, like, forever but I’m