I know html5 supported javascript can be used to select elements: document.getElementById(selector) I know jquery can be used to find a child element of another element with selectors.
But pure javascript has gotten better (for browsers that support HTML5) and I would like to do without jQuery. So it has document.getElementById to find elements.
Edit: So it's different because I want to avoid searching the entire page without jQuery.