Comment on JavaScript: Difference Between GetElementByID and QuerySelectorparentComments−65102yI'm mostly surprised we have different rules for id's in html5 and css.That you can hack something up that will accept numbers is no surprise. You could use getAttribute or xpath, I'm sure those will accept numbers too.
Comments
I'm mostly surprised we have different rules for id's in html5 and css.
That you can hack something up that will accept numbers is no surprise. You could use getAttribute or xpath, I'm sure those will accept numbers too.