在所有requirefield验证器为false之后,调用一个javascript函数 [英] call one javascript function after all the requirefield validator false

查看:71
本文介绍了在所有requirefield验证器为false之后,调用一个javascript函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Helloo,


我使用一个javscript函数,还将RequireField Validator用于2个Textbox验证.

我想要的是,如果两个文本框都为空白,则调用Requirefield Validator,而当两个文本框都为Value时,则调用Javascript Function.


目前,如果两个文本框都为空白,那么我按Enter键,JaVascript函数会被每次调用.




请帮助我............


谢谢和问候...
Mitesh

Helloo,


I use one javscript function and also use RequireField Validator for the 2 Textbox validation.

I want to that, if both textbox are blank then Requirefield Validator Calls and When both Textboxes are with the Value then Javascript Function call.


At Present, if both textboxes blank then i hit enter , the JaVascript FUnction is getting called everytime.




Please help Me............


Thanks and Regards......
Mitesh

推荐答案

尝试使用此
try using this
if(Page_ClientValidate())
        {
            alert("check the field");
        }


谢谢


这篇关于在所有requirefield验证器为false之后,调用一个javascript函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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