make an age selector on click

make an age selector on click

I have this dropdown menu (bootstrap):
  1. <div class="mutual_interests_search dropdown col-xs-4"> <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Looking for people that:
  2. <span class="caret"></span></button>
  3. <ul class="dropdown-menu">
  4. <li><a href="#">Eating Well</a></li>
  5. <li><a href="#">Train Hard</a></li>
  6. <li><a href="#">Looking for motivation</a></li>
  7. </ul>
  8. </div>
I need to show the user a age selector box when he clicks and picking his preference from the drop down.


Bascially should I use .OnClick method ? and what else should I use ?


thanks for helping.