02 2012 档案
摘要:一个很流行的表单验证代码/* *--------------- 客户端表单通用验证CheckForm(oForm) ----------------- * 功能:通用验证所有的表单元素. * 使用: * <form name="form1" onsubmit="return CheckForm(this)"> * <input type="text" name="id" check="^\S+$" warning="id不能为空,且不能含有空格"> *
阅读全文

浙公网安备 33010602011771号