jQuery验证控件jquery.validate.js使用说明+中文API
注意:
1、可以设置错误信息的位置
2、在使用rules方式时, 对表单的控件读取是通过name, 所以当使用struts2时, name可能名称可能是user.name, 这时, 在rules里对user.name设置规则时, 加上“”
jQuery验证控件jquery.validate.js使用说明+中文API
注意:
1、可以设置错误信息的位置
2、在使用rules方式时, 对表单的控件读取是通过name, 所以当使用struts2时, name可能名称可能是user.name, 这时, 在rules里对user.name设置规则时, 加上“”