所有输入都在 IE9 中正确传递,我将它们打印到屏幕上。“订单”和“进度”的输入在 firefox/chrome 中正确传递,但不是“date1”或“date2”字段。他们使用 jsdatepick 库来确定日期 - 日期填写到表格中,如下所示:“10-01-2012”。在下一页上,我拿起请求数据并打印到屏幕上。有什么提示吗?
<script type="text/javascript" src="jsDatePick.full.1.3.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" />
<script type="text/javascript">
window.onload = function(){
new JsDatePick({
useMode:2,
target:"date1",
});
new JsDatePick({
useMode:2,
target:"date2",
});
};
</script>
<Form action="ai_school_stats_return.asp" method="POST" name="stats">
<input type="hidden" id="order" name="order" value="order">
<tr>
<td width="40" align="right">From date:</td>
<td align="left"><input type="bundatetext" name="date1" id="date1" maxlength="10" value=<%=Session("date1")%>></td>
</tr>
<tr>
<td width="40" align="right">To date:</td>
<td width="60"><input type="bundatetext" name="date2" id="date2" maxlength="10" value=<%=Session("date2")%>></td>
</tr>
<tr>
<td width="40" align="right">Lesson Progressed Past</td>
<td width="60"><input type="text" name="progress" id="progress" maxlength="10" value=<%=Session("progress")%>></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td width="183"> </td>
<td width="133"> </td>
<td width="184"> </td>
</tr>
<tr>
<td colspan="3">
<div align="center"><input type="image" value="submit" src="../images/submit_up.gif" width="132" height="30"></div>
</td>
</tr>
</table>
</Form>