jquery validation插件表单验证的一个例子_jquery
程序员文章站
2022-03-19 19:23:33
...
messages_cn.js (不引用messages_cn.js是英文的提示,用了是中文)
required: "This field is required.",
remote: "Please fix this field.",
email: "Please enter a valid email address.",
url: "Please enter a valid URL.",
date: "Please enter a valid date.",
dateISO: "Please enter a valid date (ISO).",
dateDE: "Bitte geben Sie ein gültiges Datum ein.",
number: "Please enter a valid number.",
numberDE: "Bitte geben Sie eine Nummer ein.",
digits: "Please enter only digits",
creditcard: "Please enter a valid credit card number.",
equalTo: "Please enter the same value again.",
accept: "Please enter a value with a valid extension
maxlength: Please enter no more than {0} characters
minlength: Please enter at least {0} characters
rangelength: Please enter a value between {0} and {1} characters long.
range: Please enter a value between {0} and {1}.
max: Please enter a value less than or equal to {0}.
min: Please enter a value greater than or equal to {0}.
复制代码 代码如下:
required: "This field is required.",
remote: "Please fix this field.",
email: "Please enter a valid email address.",
url: "Please enter a valid URL.",
date: "Please enter a valid date.",
dateISO: "Please enter a valid date (ISO).",
dateDE: "Bitte geben Sie ein gültiges Datum ein.",
number: "Please enter a valid number.",
numberDE: "Bitte geben Sie eine Nummer ein.",
digits: "Please enter only digits",
creditcard: "Please enter a valid credit card number.",
equalTo: "Please enter the same value again.",
accept: "Please enter a value with a valid extension
maxlength: Please enter no more than {0} characters
minlength: Please enter at least {0} characters
rangelength: Please enter a value between {0} and {1} characters long.
range: Please enter a value between {0} and {1}.
max: Please enter a value less than or equal to {0}.
min: Please enter a value greater than or equal to {0}.
上一篇: 酒杯大全,酒文化了解起来
下一篇: java和c语言有什么共同点?
推荐阅读
-
ASP.NET jQuery 实例12 通过使用jQuery validation插件简单实现用户注册页面验证功能_jquery
-
怎样用jQuery验证表单密码的一致性
-
基于jquery的simpleValidate简易验证插件
-
jQuery插件Validate实现自定义表单验证_jquery
-
基于jQuery实现一个marquee无缝滚动的插件
-
jQuery.Validate表单验证插件的使用示例详解
-
jquery表单验证使用插件formValidator
-
使用jQuery如何写一个含验证码的登录界面
-
基于jQuery实现一个marquee无缝滚动的插件
-
jQuery.Validate表单验证插件的使用示例详解