re: DOM elements with ID's are global variables VIEW POST


This is old as hell... also this is the reason why you should not define an ID for styling instead of a class for elements which you will never reffrrence. Using more unnecessary IDs spends more RAM and makes your source less optimised and less performant.

code of conduct - report abuse