title: How to get elements inside tags using queryselector?
body: <pre><code>var divElement = document.createElement("div");
  divElement.setAttribute('id', 'Items');
  
  var ulElement = document.createElement("ul");
  var liElement = document.createElement("li");
  var spanElement1 = document.createElement("span");
  var spanElement2 = document.createElement("span");
  liElement.appendChild(spanElement1);
  liElement.appendChild(spanElement2);
  ulElement.appendChild(liElement);
  </code></pre>
  
  <p>when I enter selector query, I cant get elements.</p>
  
  <blockquote>
    <p><strong>document.querySelectorAll("divElement ul li");</strong> should give<br>
    <strong>document.querySelectorAll("#Items ul li");</strong></p>
  </blockquote>
  
  <p>but its not working, how to get the id at runtime????</p>