Java脚本中的组验证 [英] Group validation in java script

查看:116
本文介绍了Java脚本中的组验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解javascript中的简单验证,其中提交按钮激活了所有验证


问题如何在asp.net

i understand about simple validation in javascript in which submit button all validations activated


problem how validate group in javascript in asp.net

推荐答案

中的javascript中验证组.在要同时验证的ASP.Net验证器上设置ValidationGroup属性.您要做的就是在所有适当的验证器中指定相同的名称.当在给定页面上有多个表单并且只想为给定表单运行验证器时,通常使用此方法.

如果您想了解更多详细信息,请与Google成为朋友.
Set the ValidationGroup attribute on the ASP.Net validators that you want to validate at the same time. All you have to do is speciy the same name in all of the appropriate validators. This is mostly used when you have multiple forms on a given page and you only want to run validators for a given form.

If you want more details, google is your friend.


这篇关于Java脚本中的组验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆