首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 通过exfsoft.com jquery.exfforms

通过exfsoft.com jquery.exfforms

  • 资源大小:15.54 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 通过

资 源 简 介

表单验证及提交插件,集成多种验证表达式,使用方便. Form validation and submit plug-in, integrated multi-verification expression, easy to use. # Example 1: # function send(btn) { $("#test").exfforms( { reg: "#edt_b,input[name="edt_c"]", url: "exfforms.htm?t=save", rules: { //必填 且支持自定义事件 可以返回 true 或数组[bool,string] string为出错时的提示 "edt_a": { required: true, remote: function (v) { return [2==v, "注意,这里的值必须为2"] } }, "edt_b": { required: true,email: { value: true, msg: "邮件格式错误了哦!!!"} }, //必填 且必须是邮件格式。且为自定义错误的方法 "edt_c": { email: true }, //电子邮件 "edt_d": { url: true }, //URL "edt_e": { date: true }, //日期1 "edt_f": { dateISO: true }, //日期2 "edt_g&q
VIP VIP
0.191795s