title: jQuery get the id/value of <li> element after click function
body: <p>How can I alert the id of the <code>&lt;li&gt;</code> item clicked? </p>
  
  <pre><code>&lt;ul id='myid'&gt;
    &lt;li id='1'&gt;First&lt;/li&gt;
    &lt;li id='2'&gt;Second&lt;/li&gt;
    &lt;li id='3'&gt;Third&lt;/li&gt;
    &lt;li id='4'&gt;Fourth&lt;/li&gt;
    &lt;li id='5'&gt;Fifth&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>(Anything that can replace the id may be value or something else will also work.)</p>