Getting selected value of a combobox
Try this:
Try this:
Have a look at Select2 for Bootstrap. It should be able to do everything you need. Another good option is Selectize.js. It feels a bit more native to Bootstrap.
Here are three solutions: Solution #1 – appearance: none – with Internet Explorer 10 – 11 workaround (Demo) — To hide the default arrow set appearance: none on the select element, then add your own custom arrow with background-image Browser Support: appearance: none has very good browser support (caniuse) – except for Internet Explorer. We can improve this technique and add … Read more
Take a look at the API: http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/ComboBox.html There’s a comboBox.getValue() method which gives you the selected item.