I need to get the value a user selects from a twitter bootstrap dropdown. Once the user selects a value I want the dropdown to display that value. So, the user selects \'pending
Try like this -
$(document.body).on('click', '.dropdown-menu li a', function (e) { alert($(this).text()); });
Demo - Fiddle