I\'m trying to display a text input inline with a dropdown button. I can\'t figure out how to do this though. Here\'s the HTML I\'ve tried (I\'ve put all of it on a single
Daniel Farrell's Bootstrap Combobox does the job perfectly. Here's an example from his GitHub repository.
$(document).ready(function(){
$('.combobox').combobox();
// bonus: add a placeholder
$('.combobox').attr('placeholder', 'For example, start typing "Pennsylvania"');
});
As an added bonus, I've included a placeholder in script since applying it to the markup does not hold.