I am trying to retrieve a specific section from an html page using javascript (NodeJS)
document.querySelectorAll("section#sectionID")
It works fine with section names starting with letters. But one section name starts with a number like for example
section#4_someText_here
and I tried fetching it in a number of ways. The way it is suggested is I think this one
querySelectorAll("section#\\4 _someText_here")
But it doesn't find the section. Is this the correct way to use it?