4 ms·DOM elements with ID's are global variables14 points by bhalp1 9y agohdhzy 9y agoThe funny fact is that some browsers (Chrome?) did not have this behavior initially but it was introduced to match what others (IE?) did.