如何在提交表单的时候判断文本框是否存在重复值?如下:如何在提交表单的时候判断文本框是否存在重复值?
<form name="form1"><% for i=0 to 5 %><input type="text" name="test<%=i%>" id="test<%=i%>"/><br /><% next %><input type="button" onclick="test();" value="button"/></form>