请教各位大神. my97datepicker 这个控件 开始日期 结束日期.只能选当天.
就是 我开始日期选了9月15号 那么结束日期 也只能选9月15号
thx.
开始时间: onclick="WdatePicker({isShowClear:true,readOnly:true,skin:'blue',dateFmt:'yyyy-MM-dd'})"/>
结束时间: onclick="WdatePicker({isShowClear:true,readOnly:true,skin:'blue',dateFmt:'yyyy-MM-dd'
,minDate:'#F{$dp.$D(\'qssj\')}',maxDate:'#F{$dp.$D(\'qssj\')}'})"/>
function changeTime(t){
if ($("#jssj").val()!= '' && $("#jssj" ).val() $("#jssj" ).val(t);
}
}
开始时间: onclick="WdatePicker({isShowClear:true,readOnly:true,skin:'blue',dateFmt:'yyyy-MM-dd'})"/>
结束时间: onclick="WdatePicker({isShowClear:true,readOnly:true,skin:'blue',dateFmt:'yyyy-MM-dd'
,minDate:'#F{$dp.$D(\'qssj\')}',maxDate:'#F{$dp.$D(\'qssj\')}'})"/>
function changeTime(t){
if ($("#jssj").val()!= '' && $("#jssj" ).val() $("#jssj" ).val(t);
}
}
只能选一天?
那要选择结束日期干什么?
<div style=" width:100%; height:30px;"><input type="text" id="txt_start" style="width: 295px;" class="Wdate txt_bordercolor" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'txt_end\')}',startDate:'%y-%M-%D 18:00:00',dateFmt:'yyyy-MM-dd HH:mm',onpicked :function(dp){jisuanstatrTime(dp.cal.date)}})" /></div> <div style=" width:100%; height:25px;">加班截止时间:</div> <div style=" width:100%; height:30px;"><input type="text" id="txt_end" style="width: 295px;" class="Wdate txt_bordercolor" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'txt_start\')}',startDate:'%y-%M-%D 20:00:00',dateFmt:'yyyy-MM-dd HH:mm',onpicked :function(dp){jisuanTime(dp.cal.date)}})" /></div>
<div style=" width:100%; height:30px;"><input type="text" id="txt_start" style="width: 295px;" class="Wdate txt_bordercolor" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'txt_end\')}',startDate:'%y-%M-%D 18:00:00',dateFmt:'yyyy-MM-dd HH:mm',onpicked :function(dp){jisuanstatrTime(dp.cal.date)}})" /></div> <div style=" width:100%; height:25px;">加班截止时间:</div> <div style=" width:100%; height:30px;"><input type="text" id="txt_end" style="width: 295px;" class="Wdate txt_bordercolor" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'txt_start\')}',startDate:'%y-%M-%D 20:00:00',dateFmt:'yyyy-MM-dd HH:mm',onpicked :function(dp){jisuanTime(dp.cal.date)}})" /></div>