Html5 DropDownList
Set the dropDownHeight property of the jqxDropDownButton.
Author: http://jqwidgets.com
Author: http://jqwidgets.com
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 id='jqxDropDownList'></div>
<input style="margin-top: 20px;" type="button" id='jqxButton' value="Show the selected item" />
JavaScript
var source = [
"Affogato",
"Americano",
"Bicerin",
"Breve",
"Café Bombón",
"Affogato",
"Americano",
"Bicerin",
"Breve",
"Café Bombón",
"Café au lait"];
// Create a jqxDropDownList
$("#jqxDropDownList").jqxDropDownList({
source: source,
theme: 'energyblue',
dropDownHeight:200,
filterable: true,
selectedIndex: 1
});
$("#jqxButton").jqxButton({
theme: 'energyblue'
});
$('#jqxButton').on('click', function () {
var item = $("#jqxDropDownList").jqxDropDownList('getSelectedItem');
alert("Item: " + item.label);
});