title: How to get value of li value of two div's using jquery
body: <p>Please find the below structure.     </p>
  
  <p><strong>When i click a button i need to get the li value of two div.</strong></p>
  
  <p>For example, Let us consider <strong>in first div i have selected test2</strong> and <strong>in second div i have selected test 8</strong> and <strong>when i click the button i need to get the value as 558 and 561</strong></p>
  
  <p>How can i do this using jquery.</p>
  
  <pre><code>&lt;div class='parent'&gt;test 1&lt;/div&gt;
  &lt;div class="list"&gt;
      &lt;ul&gt;
      &lt;li value="0"&gt;All&lt;/li&gt;
      &lt;li value="556"&gt;test 1&lt;/li&gt;
      &lt;li value="558"&gt;test 2&lt;/li&gt;
      &lt;li value="560"&gt;test 3&lt;/li&gt;
      &lt;li value="561"&gt;test 4&lt;/li&gt;
      &lt;/ul&gt;  
  &lt;/div&gt;
  
  &lt;div class='parent2'&gt;test 6&lt;/div&gt;
  &lt;div class="list2"&gt;
  &lt;ul&gt;
  &lt;li value="0"&gt;All&lt;/li&gt;
  &lt;li value="556"&gt;test 5&lt;/li&gt;
  &lt;li value="558"&gt;test 6&lt;/li&gt;
  &lt;li value="560"&gt;test 7&lt;/li&gt;
  &lt;li value="561"&gt;test 8&lt;/li&gt;
  &lt;/ul&gt;  
  &lt;/div&gt;
  </code></pre>
  
  <p>Thanks in advance...</p>