Creating selector for ul/li's

Creating selector for ul/li's

Have a hard time finding the best combo of selectors to get the text value of a li > a parent of a child ul > li choosen.  In example below when I click "Add Files" I need to get the parent value of "File Links":

  1. <ul class="dropdown-menu appNavBar">
  2.       <li id="appNav4" class="appNav">
  3.             <a class="trigger left-caret">File Links</a>
  4.             <ul class="dropdown-menu sub-menu" style="display: block;">
  5.                   <li id="fe3">
  6.                         <a id="lnk_fe3" href=" index.cfm/fileexchange/main/home" defaulttarget="#mainContent" class="retarget">
  7.                               Add Files
  8.                         </a>
  9.                   </li>
  10.             </ul>
  11.       </li>
  12. </ul>