exValidation是一个前台校验框架

能够校验前台的常用的输入错误。

例如,必须输入,用户输入长度......

-----------------------------------------------------------------------

使用到的资源

exvalidation.css

jquery.js

jquery.easing.js

jQselectable.js

exvalidation.js

exchecker-ja.js

-----------------------------------------------------------------------

并且,需要对相应的form设置必须的校验格式

            var validation = $("form")
                .submit(function() {
                    return false;
                })
                .exValidation({
                    firstValidate: true,
                    rules: {
                        text1: "chkrequired",
                        text2: "chkrequired"
                    },
                    stepValidation: true
                });    

大牛的地址,可以下载需要的资源。

https://github.com/5509/exValidation

 

下面是一个框架中做成的一个例子:

*は必須項目です

Name*
Kana*
Mail*
Mail2*
Password*
Retype-Password*
URL*
Sex* female
Prefecture*
this is selectable
City
Street
Image*
Favorite*

相关文章:

  • 2021-12-01
  • 2021-12-07
  • 2021-05-23
  • 2021-09-02
  • 2021-04-21
  • 2021-07-04
  • 2022-01-03
猜你喜欢
  • 2022-01-09
  • 2022-12-23
  • 2021-08-13
  • 2021-11-29
  • 2022-01-22
  • 2022-02-10
相关资源
相似解决方案