JQuery DropDownList

Set the autoOpen property of the jqxDropDownButton. Author: http://jqwidgets.com Author: http://jqwidgets.com

by Witold

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="jqxwindow">
<div>Header</div>
<div>Content
<div style="height:100px"></div>
<div id='jqxDropDownList'></div>
<div style="height:800px"></div>
</div>
</div>

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',
  });
   $("#jqxwindow").jqxWindow({ width: 300, height: 600 });