1,onclick中添加日期控件
2,onpicked事件即是点击控件后触发的事件
3,dp.cal.getNewDateStr()即是点击到的日期字符串
<script>
function pFn(){
$("#searchByRq").submit();
}
</script>
<form id="searchByRq" method="post" action="editAll.ht">
<input name="rq" class="date"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',onpicked:function(dp){pFn(dp.cal.getNewDateStr())}})"
value="${rq}"/>
</form>