JavaScript ComboBox
Set the animationType property of the jqxComboBox.
Author: http://jqwidgets.com
by Harsh Bhatnagar
HTML
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<!-- <div>Default</div>
<div id="jqxComboBox"></div><br /> -->
<div>Primary</div><br /><br /><br /><br /><br /><br /><br /><br />
<div id="jqxComboBox2"></div>
CSS
/* div {
float: left;
} */
#jqxComboBox2 {
vertical-align: top;
}
JavaScript
var source = [
"Affogato",
"Americano",
"Bicerin",
"Breve",
"Café Bombón",
"Café au lait",
"Caffé Corretto",
"Café Crema",
"Caffé Latte",
"Caffé macchiato",
"Café mélange",
"Coffee milk",
"Cafe mocha",
"Cappuccino",
"Carajillo",
"Cortado",
"Cuban espresso",
"Espresso",
"Eiskaffee",
"The Flat White",
"Frappuccino",
"Galao",
"Greek frappé coffee",
"Iced Coffee",
"Indian filter coffee",
"Instant coffee",
"Irish coffee",
"Liqueur coffee"
];
// Create a jqxComboBox
/* $("#jqxComboBox").jqxComboBox({selectedIndex: 1, source: source, width: '200px', height: '30px'});
*/
$("#jqxComboBox2").jqxComboBox({
selectedIndex: 1,
template: "primary",
source: source,
width: '200px',
height: '30px',
autoComplete: true,
dropDownVerticalAlignment:'top'
});