jVal

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 13:11:36

软件介绍

Super-sexy animated form field validation plugin.

Very easy to apply field validation on a per field basis in the html <INPUT> declaration. Very user friendly in showing each field that has not passed validation. Easy support for restriction of characters in a field, i.e. phone number only allowing digits. Allows for associating the ENTER key with a specific function.

To use simply add a jKey="" or jKeyVal="" to the <INPUT> html tag you would like to have validation associated with such as this example to make sure that a field has 10 digits as well as only allowing digits to being entered (i.e. US Phone number input field):

<INPUT ID="phoneNumber" TYPE="text"
    jVal="{valid:function (val) { if (val.length != 10) return false; else return true; }, message:'10 Digits for Phone Required', styleType:'cover'}"
    jValKey="{valid:/[0-9]/, message:'&quot;%c&quot; Invalid Character - Only Digits Allowed', cFunc:'$(\'#formContainer\').jVal()', styleType:'pod'}">

The validation from jVal will render the flyout messaging in the "cover" style and the flyout messaging for invalid characters will be in the "pod" style - see Home Page for more info.

0.1.2

  • fixed issue with [jVal] input field’s visually “bouncing”

0.1.1

  • jVal() now returns true if all jVal fields are valid and false is any jVal fields are invalid and fail the test RegExp or Function declared in the jVal=”" attribute.

0.1.0

  • initial release

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

程序员成长的烦恼

程序员成长的烦恼

吴亮、周金桥、李春雷、周礼 / 华中科技大学出版社 / 2011-4 / 28.00元

还在犹豫该不该转行学编程?还在编程的道路上摸爬滚打?在追寻梦想的道路上你并不孤单,《程序员成长的烦恼》中的四位“草根”程序员也曾有过类似的困惑。看看油田焊接技术员出身的周金桥是如何成功转行当上程序员的,做过钳工、当过外贸跟单员的李春雷是如何自学编程的,打小在486计算机上学习编程的吴亮是如何一路坚持下来的,工作中屡屡受挫、频繁跳槽的周礼是如何找到出路的。 《程序员成长的烦恼》记录了他们一步一......一起来看看 《程序员成长的烦恼》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

MD5 加密
MD5 加密

MD5 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具