例(两个时间参数):
<inputtype="text"name="create_time_start_str"value="${noticeWechat.create_time_start_str==null?'':noticeWechat.create_time_start_str}"onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"readonly="readonly"/>
--
<inputtype="text"name="create_time_end_str"value="${noticeWechat.create_time_end_str==null?'':noticeWechat.create_time_end_str}"onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"readonly="readonly"/>
要传递参数的标签:
<a href="javascript:view(要传递参数);">查看</a>
<scripttype="text/javascript">
function view(要传递参数){
location.href = '<%=path %>/park/pkOrderList.do?state=2&create_time_start='+参数a+'&create_time_end='+参数b;
}
</script>