Closed ewwink closed 5 years ago
zepto use document.querySelectorAll('#123id p')
to select the element node, and querySelectorAll needs valid CSS selectors.
However, it seems that ID selectors are not allowed to start with a number.
<style> #123id {background-color: red; }</style>
doesn't work either.
I hope it can help you.
but you can use document.getElementById to select the element
Please fix your IDs to conform to the HTML standard.
SyntaxError: '#123id p' is not a valid selector
but jQuery is fine.