easyui-datebox 点击事件

<div class="form-group col-xs-5 col-md-5 col-lg-6" style = "margin-left: 0px;">
                <label for="beginTime" class="control-label col-sm-2 col-md-2  col-lg-2">&nbsp;&nbsp;时间</label>
                <div class="col-sm-10 col-md-9">
                    <div class="row">
                        <div class="col-xs-10">
                            <input class="easyui-datebox" id="beginTime" name="beginTime" editable="true" 
                                   style="height:35px; 180px;" >&nbsp;&nbsp;&nbsp;                                   
                             <input class="easyui-datebox" id="endTime" name="endTime" editable="true"
                                   style="height:35px; 180px;" >
                        </div>
                    </div>
                </div>
            </div>
 $('#beginTime').datebox({
        onHidePanel : function() {
            //点击日期控件触发查询事件
            fnSearch();
        }/* ,
        onSelect: function(date){
            //点击日期触发查询事件
            alert("2");
            //alert(date.getFullYear()+":"+(date.getMonth()+1)+":"+date.getDate());
        } */
    });
原文地址:https://www.cnblogs.com/lijianda/p/10180391.html