This is the following http://jsfiddle.net/coderslay/enzDx/
I am trying to change the text Select as soon as an item is clicked
So if i selec
You can check the click event on the dropdown-menu :
click
dropdown-menu
$('.dropdown-menu > li').click(function() { var $toggle = $(this).parent().siblings('.dropdown-toggle'); $toggle.html(" " + $(this).text() + "") });
jsFiddle : http://jsfiddle.net/enzDx/6/ .