TechFeed
  • playlist_add_check Channels

Named Element IDs Can Be Referenced as JavaScript Globals
BRANK

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

css-tricks.com 3 years ago
Related Topics: JavaScript Web Standards / Browsers
arrow_back
open_in_new Open page
https://css-tricks.com/named-element-ids-can-be-referenced-as-javascript-globals/
  • Blog
  • Frequently Asked Questions
  • Feedback
  • Terms of service
  • Privacy Policy
  • Posting guidelines
  • Special thanks
  • About Company
© 2025 TechFeed Inc.