日期控件判断是否为空

<input type="text" class="input-text inline" style="width:120px;" id="beginDateSel" name="beginDateSel" placeholder=" 起始日期" value="${query.beginDate?then(query.beginDate?date,'')}" onClick="WdatePicker()">

 <input type="text" class="input-text inline" style="width:120px;" id="endDateSel" name="endDateSel" placeholder=" 结束日期" value="${query.endDate?then(query.endDate?date,'')}" onClick="WdatePicker()">

posted @ 2018-09-10 16:46  小草1234  阅读(432)  评论(0编辑  收藏  举报