<div class="col-md-8"> <div class="input-group"> <input id="buttondropdownperson" name="buttondropdownperson" class="form-control" placeholder="Please select the personyou are here to see" type="text" required=""> <div class="input-group-btn"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <- <span class="caret"></span> </button> <ul class="dropdown-menu pull-right"> <li><a href="#">Duty Officer</a></li> <li><a href="#">John Doe</a></li> <li><a href="#">Phillip Smith</a></li> <li><a href="#">Jessica Moore</a></li> <li><a href="#">Roger Nand</a></li> <li><a href="#">Steve Jobs</a></li> <li><a href="#">Phil Schiller</a></li> <li><a href="#">Carter Williams</a></li> <li><a href="#">Rebecca Johnson</a></li> </ul> </div> </div> </div> In the above Boot Strap Form, when I select a person from the dropdown, I don't see the text in the "TextField" where you see it says "Please select the person..."
I am new to Node.JS and jQUERY. How can I get the selected person from the dropdown-menu and display it on the button ?
JSFiddle link https://jsfiddle.net/officaluseonly2015/95h49av5/1/
