Happy.js 支持的浏览器 jQuery 表单验证插件

程序名称:Happy.js 支持的浏览器

授权协议: MIT

操作系统: 跨平台

开发语言: JavaScript

Happy.js 支持的浏览器 介绍

Happy.js 是一个轻量级的 jQuery 表单验证插件。

支持的浏览器

  • IE 6, 8 (and 8 in compat. mode, which is supposed to be like 7)

  • FF 3.6

  • Chrome 7

  • Safari 5

示例代码:

$('#awesomeForm').isHappy({
    fields: {
      // reference the field you're talking about, probably by `id`
      // but you could certainly do $('[name=name]') as well.
      '#yourName': {
        required: true,
        message: 'Might we inquire your name'
      },
      '#email': {
        required: true,
        message: 'How are we to reach you sans email??',
        test: happy.email // this can be *any* function that returns true or false
      }
    }
  });

Happy.js 支持的浏览器 官网

http://happyjs.com/

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...