@addyosmani Chrome throws a SyntaxError on document.querySelector('#1') even though even though https://www.w3.org/TR/html5/dom.html#the-id-attribute … says digit is valid
If all you need is to get an element based on its ID, then sure! +@addyosmani
-
-
In this specific case I'm checking validity of fragment identifier links. I assume finding element by id will be enough
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.