聯(lián)系官方銷售客服
1835022288
028-61286886
日期搜索框,輸入開始、結(jié)束日期,點(diǎn)擊搜索按鈕后,輸入框中不顯示之前輸入的日期,請(qǐng)教各位可能是什么原因?
<label>日期選擇</label>
<label><i class="fa fa-caret-right"></i></label>
<label style="margin-bottom: -12px; margin-right: 10px;">
<div class="input-group input-medium date-picker input-daterange" data-date="" data-date-format="yyyy-mm-dd">
<input type="text" class="form-control" value="{$param.date_form}" name="date_form" >
<span class="input-group-addon"> {dr_lang('到')} </span>
<input type="text" class="form-control" value="{$param.date_to}" name="date_to" >
</div>
</label>
<label style="margin-bottom: 5px;"><button type="submit" class="btn blue btn-sm onloading" name="submit" style="width:85px;"> <i class="fa fa-search"></i> {dr_lang('提取數(shù)據(jù)')}</button></label>
問題解決,用$_GET['字段名']即可獲取到輸入值。
我本地可以點(diǎn)擊后不清零,官網(wǎng)演示站也可以