DOM elements are also global when accessed by ID. e.g. window['my_element_id'] or my_element_id #oldschoolweb
window['my_element_id']
my_element_id
this is a big DON'T
For sure a bad idea. Just a little anecdote.
Here's some more web anecdotes
MICHAEL JACKSON @mjackson OK, so who's responsible for the capitalization of XMLHttpRequest? 04:58 AM - 04 Oct 2017 41198
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
DOM elements are also global when accessed by ID. e.g.
window['my_element_id']ormy_element_id#oldschoolwebthis is a big DON'T
For sure a bad idea. Just a little anecdote.
Here's some more web anecdotes