How to detect which Li was clicked

How to detect which Li was clicked

I have several menu items and I would like to get the Val() into a var so that I can popup the correct overlay/popup.  What is a way to do that?

  1.   <div id="navcontainer">
  2.     <ul id="navlist">
  3.       <li><a id="showPopup1" href="#">Page 1</a></li>
  4.       <li><a id="showPopup2" href="#">Page 2</a></li>
  5.       <li><a id="showPopup3" href="#">Page 3</a></li>
  6.       <li><a id="showPopup4" href="#">Page 4</a></li>
  7.     </ul>
  8.   </div><!--end navcontainer-->
Thanks...

Todd