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

Google API开发详解

Google API开发详解

江宽,龚小鹏等编 / 电子工业 / 2008-1 / 59.80元

《Google API开发详解:Google Maps与Google Earth双剑合璧》从易到难、由浅入深、循序渐进地介绍了Google Maps API和Google Earth API的开发技术。《Google API开发详解:Google Maps与Google Earth双剑合璧》知识讲解通俗易懂,并有大量的实例供读者更加深刻地巩固所学习的知识,帮助读者更好地进行开发实践。 《Go......一起来看看 《Google API开发详解》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

随机密码生成器
随机密码生成器

多种字符组合密码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试