title: How to get the value of hidden in li with jQuery?
body: <p>I store filename in the value of hidden input, I hope to get the filename when I click Download or Rename label.
  Such as I get file1 when I click the first element Download of li, how can I do ? Thanks!</p>
  
  <pre><code>function Download() {
    alert("filename I clicked");
  }
  </code></pre>
  
  <p><strong>Html</strong>     </p>
  
  <pre><code>   &lt;ul&gt;
         &lt;li &gt;  &lt;input type="hidden" value="file1" /&gt; &lt;span onclick="Download()"&gt;Download&lt;/span&gt;   &lt;span onclick="Rename()"&gt;Rename&lt;/span&gt; &lt;/li&gt;
         &lt;li &gt;  &lt;input type="hidden" value="file2" /&gt; &lt;span onclick="Download()"&gt;Download&lt;/span&gt;   &lt;span onclick="Rename()"&gt;Rename&lt;/span&gt; &lt;/li&gt;
         &lt;li &gt;  &lt;input type="hidden" value="file3" /&gt; &lt;span onclick="Download()"&gt;Download&lt;/span&gt;   &lt;span onclick="Rename()"&gt;Rename&lt;/span&gt; &lt;/li&gt;
     &lt;/ul&gt;
  </code></pre>