我有一个文本框,在JSP页面中JavaScript的文本框验证
<td><label for="customer.fcDate" class="desc"><bean:message key="label.customer.fcDate" /></label></td>
<td>
<table><tbody><tr>
<td><input type="Text" name="customer.fcDate" id="customer.fcDate" style="customer.fcDate" class="SingleLineTextField" maxlength="10" size="15" tabindex="1" ></td>
<td><a href="javascript:NewCal('customer.fcDate','mmddyyyy')"><img align="middle" src="Images/cal.jpg" width="20" height="20" border="0" alt="Pick a date"></a></td>
</tr></tbody></table>
</td>
现在我要检查使用javascript盒子不能为空。怎么做?
你能解释一下吗?
<td> <table>
<tbody><tr>
<td>
<input type="Text" name="customer.fcDate" id="customer.fcDate" style="customer.fcDate" class="SingleLineTextField" maxlength="10" size="15" tabindex="1" onblur="nullcheck()">
</td>
<td><a href="javascript:NewCal('customer.fcDate','mmddyyyy')">
<img align="middle" src="Images/cal.jpg" width="20" height="20" border="0" alt="Pick a date"></a></td> </tr></tbody></table> </td>
这样
?????
你能解释一下吗? \t
关于上面的“input type =”Text“name =”customer.fcDate“,你需要整合这个功能。 – Rubyist 2010-11-08 10:46:04