Vinter.validate

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 14:26:46

软件介绍

A very simple to use form validation plugin for jQuery, no complicated settings and configuration options to get going.

  • Start using straight away
  • Error messages in markup
  • Easy plugin in existing forms, just add error messages and a call to the validator!
  • Per fieldset validation

Currently supporting:

  • Validate empty text fields
  • Email-validation
  • Number validation
  • Checkbox and radio-button groups validation
  • Select-box validation
  • If title="" attr is used and the input value == title the field will still be marked with error to allow for using default form values and "descriptions"
  • HTML in error messages
  • Custom validation callback
  • adds "notvalid" class to form fields
  • Super simple usage.
  • Choose to validate specific fieldsets only

Usage

<div id="validationmsg"></div>
<fieldset>
    <label>
        Name: <input type="text" class="required" />
        <span class="errmsg">This is the error message, hideme with css</span>
    </label>

    <input type="submit" value="Submit form" onclick="return jQuery.validate()" />
</fieldset>

The errmsg have to be inside the field label for the validator to find it. The validationmsg div can be anywhere on the page, and the ID can be configurated using the options. See demo page for more advanced example including checkbox & radiobutton validation.

本文地址:https://codercto.com/soft/d/23150.html

推荐系统实践

推荐系统实践

项亮 / 人民邮电出版社 / 2012-6-1 / 49.00元

内容简介: 随着信息技术和互联网的发展,人们逐渐从信息匮乏的时代走入了信息过载(information overload)的时代 。在这个时代,无论是信息消费者还是信息生产者都遇到了很大的挑战:对于信息消费者,从大量信息中找到自己感兴趣的信息是一件非常困难的事情;对于信息生产者,让自己生产的信息脱颖而出,受到广大用户的关注,也是一件非常困难的事情。推荐系统就是解决这一矛盾的重要工具。推荐系统......一起来看看 《推荐系统实践》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具