Merge 88d507db26
into cb3e6b455c
commit
9f3b443383
|
@ -754,6 +754,7 @@ Dates.events = function(){
|
|||
Dates.on(as.oclear, 'click', function(){
|
||||
Dates.elem[as.elemv] = '';
|
||||
Dates.close();
|
||||
(typeof Dates.options.onClear === 'function')&&Dates.options.onClear();
|
||||
});
|
||||
|
||||
//今天
|
||||
|
|
|
@ -33,7 +33,10 @@
|
|||
<script type="text/javascript" src="../laydate.dev.js"></script>
|
||||
<script type="text/javascript">
|
||||
laydate({
|
||||
elem: '#J-xl'
|
||||
elem: '#J-xl',
|
||||
onClear:function(){
|
||||
console.log("清空按钮按下事件。");
|
||||
}
|
||||
});
|
||||
|
||||
document.getElementById('J-xl-2-btn').onclick = function(){
|
||||
|
|
Loading…
Reference in New Issue