JQuery DropDownList

Set the dropDownVerticalAlignmentproperty of the jqxDropDownButton. Author: http://jqwidgets.com Author: http://jqwidgets.com

by Manu Vashishtha

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 style="margin-left: 100px; margin-top: 300px;" id='jqxDropDownList'></div>

JavaScript

var source = [
      "Affogato",
      "Americano",
      "Bicerin",
      "Breve",
      "Café Bombón",
     "Café au lait"];
  // Create a jqxDropDownList
  $("#jqxDropDownList").jqxDropDownList({
      source: source,
      theme: 'energyblue',
      dropDownVerticalAlignment:'top',
      dropDownWidth:300
  });