摘要:
关于提交表单的问题:点击后无论是否符合要求都会提交表单,如何需要控制只有符合要求的才可以提交,需要如下:function check(){ var name=document.getElementById("txtUserName").value; if(name==""){ return false; }else{ document.form1.submit();}} 注意其中的form1为fo... 阅读全文
posted @ 2006-11-28 20:34 wucf2004 阅读(182) 评论(0) 推荐(0) 编辑