开发者

Execute JavaScript function from RegularExpressionValidator

I have a asp.net textbox that uses a RegularExpressionValidator. If the regula开发者_运维技巧r expression fails, is it possible to execute a small client side javascript function to do something?


Use customvalidator instead and then make it call a js function. In that function you can perform regular expression validation and what ever else you desire.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜