JQuery DropDownList

Set the autoOpen 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>
  <body class='default'>
    <div id='jqxWidget'>
        <div style='float: left;' id="dropDownButton">
            <div style="border: none;" id='jqxTree'>
                <ul>
                    <li item-selected='true'>Home</li>
                     <li>Education</li>
                    <li>Financial services</li>
                        <li>Government</li>
                    <li>Manufacturing</li>
                      <li>Products   <label>Date Input</label>
        <div id='dateInput'>
        </div></li>
                </ul>
            </div>
        </div>
    </div>

JavaScript

// Create jqxDropDownButton
            $("#dropDownButton").jqxDropDownButton({ width: 150, height: 25});
            $('#jqxTree').on('select', function (event) {
                var args = event.args;
                var item = $('#jqxTree').jqxTree('getItem', args.element);
                var dropDownContent = '<div style="position: relative; margin-left: 3px; margin-top: 5px;">' + item.label + '</div>';
                $("#dropDownButton").jqxDropDownButton('setContent', dropDownContent);
            });
            $("#jqxTree").jqxTree({ width: 300});
            
             $("#dateInput").jqxDateTimeInput({ width: '200px', height: '25px', selectionMode : 'range', });