Really Simple Validation (RSV)

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-13 10:12:33

软件介绍

This small but powerful script lets you add javascript validation to your forms quickly and with very little effort. No programming experience is necessary, but it's fully extensible to allow programmers to augment the built-in validation rules with their own.

RSV comes in three flavours: as a standalone script, as a jQuery plugin and as a Prototype extension. All of the versions offer the same functionality, but I've separated the documentation and examples into sections to keep things clear. If you're unfamiliar with jQuery or Prototype you'll probably want to use the standalone script.

The script offers all the common validation routines offered by other validation scripts, but more importantly it supports "fringe" cases very well, with features such as:

  • It allows you to apply multiple validation rules to the same field
  • Allows for simple conditional logic (if field A == something, validation fields B, C and D)
  • You can make up your own validation rules
  • you can display the errors in literally any way you want, with 3 built-in standard ways to present them and the option to pass the errors to a custom error handler
  • Lets you pass off control flow to your own onCompleteHandler function
  • there's a PHP sister script available. You can literally copy & paste your validation rules to a PHP file to get server-side validation.

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

重构

重构

[美]马丁•福勒(Martin Fowler) / 熊节 / 人民邮电出版社 / 2015-8 / 69.00

本书清晰揭示了重构的过程,解释了重构的原理和最佳实践方式,并给出了何时以及何地应该开始挖掘代码以求改善。书中给出了70 多个可行的重构,每个重构都介绍了一种经过验证的代码变换手法的动机和技术。本书提出的重构准则将帮助你一次一小步地修改你的代码,从而减少了开发过程中的风险。一起来看看 《重构》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

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

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码