title: how to get value of li tag which is in ul tag using getElementById
body: <p>In this code I am getting in alert 0 insteadof 'abc'    </p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;First Node&lt;/li&gt;
      &lt;li id="repoFolder" value="abc"&gt;Lazy Node&lt;/li&gt;
  &lt;/ul&gt;
  &lt;button onclick="rootFolder()"&gt;Click Me&lt;/button&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>function rootFolder() {
      alert(document.getElementById("repoFolder").value);
  }
  </code></pre>