java脚本验证与asp.net验证控件 [英] java script validation vs asp.net validation control

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

问题描述

我的选择哪一个更好?用于客户端验证的Javascript或asp.net验证控件?





如果是,您推荐哪一个?请提供一个简单的解释

MY qusestion is which one is better to choose ? Javascript or asp.net Validation control for client side validation?


If yes, which one do you recommend? Please provide a simple explanation to it

推荐答案

查看此链接



JavaScript与ASP.NET验证,选择哪一个? [ ^ ]



问候..
See this link

Javascript vs ASP.NET validation, which one to choose?[^]

Regards..


你可以使用其中任何一种(你觉得舒服)。

You can use any one of that(In which you feel comfortable).
Rex M [ ^ ]写道:

始终在服务器上验证。客户端验证只是为了让用户体验更愉快。这很重要,但就经验而言,这一点非常重要。客户端上的验证对于验证来说并不重要,因为客户端计算机上运行的任何内容都可能被同一客户端泄露或绕过。

Always validate on the server. Client-side validation is only to make the user experience more pleasant. Which is important, but only important as far as the experience goes. Validation on the client is not important at all for the purposes of validation, because anything running on the client machine can be compromised or bypassed by the same client.







- Amit


这篇关于java脚本验证与asp.net验证控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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