I have this piece of code of dropdown, like this there are more than 1 dropdown, from which i want to get the name of each drop down and its selected value
<div style="display: inline-block;" class="dropdown">
  <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">Front-Desk<span class="caret"></span></button>
    <ul class="dropdown-menu">
      <li><a href="#"> 0</a></li>
      <li><a href="#"> 1</a></li>
      <li><a href="#"> 2</a></li>
      <li><a href="#"> 3</a></li>
      <li><a href="#"> Empty Values</a></li>
    </ul>
</div>
for example: for the above code angularjs should return me 'Front-Desk' with its selected value '2'(say). If there is solution from JQuery then also i would really appreciate the help.
