$('#htsj').datebox({ onHidePanel : function() { alert("关闭选择框时弹出此条信息"); }, onSelect: function(date){//这里的date参数就是所选的时间 alert("选择时弹出此条信息"); } });
如下: